diff options
author | 2021-09-27 09:56:33 -0400 | |
---|---|---|
committer | 2021-10-05 16:42:51 +0100 | |
commit | a78731ad2cf457b25d311460578a778070900385 (patch) | |
tree | 48411f28c217476530847943cfce76c1b4100ab7 | |
parent | chore: remove doubled new line in ERROR_MSG (diff) |
chore: remove single-use constant for json path
-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) |