write LASTFM_API_KEY to config file

+ remove alive bar
This commit is contained in:
mungai-njoroge
2023-08-31 21:36:34 +03:00
parent 4271a6f4a0
commit da88bbd9cc
9 changed files with 34 additions and 69 deletions
+3 -1
View File
@@ -1,12 +1,14 @@
import platform
IS_WIN = platform.system() == "Windows"
# TODO: Check is_windows on app start in settings.py
def is_windows():
"""
Returns True if the OS is Windows.
"""
return platform.system() == "Windows"
return IS_WIN
def win_replace_slash(path: str):