diff options
author | 2021-09-27 09:56:33 -0400 | |
---|---|---|
committer | 2021-09-27 09:56:33 -0400 | |
commit | d209638ff2c4f78cdcda49972886d4a7da69165f (patch) | |
tree | 513e1baf26fddb25952a57ff6cb81a5192137b70 /bot | |
parent | chore: remove doubled new line in ERROR_MSG (diff) |
chore: remove single-use constant for json path
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/utilities/color.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/exts/utilities/color.py b/bot/exts/utilities/color.py index 7c7f4bba..ac7b5fc6 100644 --- a/bot/exts/utilities/color.py +++ b/bot/exts/utilities/color.py @@ -24,8 +24,7 @@ HSL: 0-360 degrees Hex: #000000-#FFFFFF """ -COLOR_JSON_PATH = "bot/resources/utilities/ryanzec_colours.json" -with open(COLOR_JSON_PATH) as f: +with open("bot/resources/utilities/ryanzec_colours.json") as f: COLOR_MAPPING = json.load(f) |