mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
fallback
This commit is contained in:
@@ -15,10 +15,10 @@ except ImportError:
|
||||
|
||||
from modules.logger import logger
|
||||
from modules.argumentparser import Args
|
||||
from modules.css_color import extract_theme_color, extract_colorscheme
|
||||
from modules.css_color import extract_colorscheme
|
||||
|
||||
# Define constants for static files directory and icon sizes
|
||||
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__)).removesuffix(__package__)
|
||||
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__)).removesuffix(__package__ if __package__ else "")
|
||||
STATIC_FILES_DIR = os.path.join(SCRIPTDIR, "files")
|
||||
ICON_SIZES = ["36x36", "48x48", "72x72", "96x96", "144x144", "192x192", "512x512"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user