ignore unicode characters errors

+ add methods on settings.Keys to verify key !== empty string
This commit is contained in:
mungai-njoroge
2023-09-26 17:59:12 +03:00
parent 5cf0bb8c42
commit 54714a224b
5 changed files with 27 additions and 27 deletions
+1 -2
View File
@@ -72,7 +72,7 @@ class HandleArgs:
]
)
finally:
# revert and remove the api keys for dev mode
# revert and remove the api keys for dev mode
with open("./app/configs.py", "w", encoding="utf-8") as file:
line1 = "LASTFM_API_KEY = ''\n"
line2 = "POSTHOG_API_KEY = ''\n"
@@ -173,4 +173,3 @@ class HandleArgs:
if any((a in ARGS for a in ALLARGS.version)):
print(settings.Release.APP_VERSION)
sys.exit(0)