misc refactors and docstrings addition

This commit is contained in:
geoffrey45
2022-03-24 00:25:00 +03:00
parent bab2228a28
commit 67c3be7d40
25 changed files with 198 additions and 186 deletions
+6 -2
View File
@@ -1,7 +1,11 @@
"""
Contains default configs
"""
import os
# paths
CONFIG_FOLDER = "alice"
CONFIG_FOLDER = ".alice"
HOME_DIR = os.path.expanduser("~") + "/"
APP_DIR = os.path.join(HOME_DIR, CONFIG_FOLDER)
THUMBS_PATH = os.path.join(APP_DIR, "images", "thumbnails")
@@ -14,4 +18,4 @@ IMG_THUMB_URI = IMG_BASE_URI + "thumbnails/"
# defaults
DEFAULT_ARTIST_IMG = IMG_ARTIST_URI + "0.webp"
LAST_FM_API_KEY = "762db7a44a9e6fb5585661f5f2bdf23a"
LAST_FM_API_KEY = "762db7a44a9e6fb5585661f5f2bdf23a"