mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 16:31:15 +00:00
write LASTFM_API_KEY to config file
+ remove alive bar
This commit is contained in:
1 parent
4271a6f4a0
commit
da88bbd9cc
9 files changed
+34
-69
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user