diff --git a/rest_api/v0/emojis.py b/rest_api/v0/emojis.py index 1536a6d..d7ac037 100644 --- a/rest_api/v0/emojis.py +++ b/rest_api/v0/emojis.py @@ -8,7 +8,7 @@ DEFAULT_EMOJIS = {} # {lang: [...]} for filename in os.listdir("emojis"): if filename.endswith(".json"): - f = open(f"emojis/{filename}.json", "r") + f = open(f"emojis/{filename}", "r") DEFAULT_EMOJIS[filename.replace(".json", "")] = json.load(f) f.close()