add global WINDOWS bool

This commit is contained in:
Mike Fährmann
2020-05-19 21:42:11 +02:00
parent 6294e2c540
commit c8787647ed
6 changed files with 11 additions and 13 deletions

View File

@@ -22,7 +22,7 @@ log = logging.getLogger("config")
_config = {}
if os.name == "nt":
if util.WINDOWS:
_default_configs = [
r"%USERPROFILE%\gallery-dl\config.json",
r"%USERPROFILE%\gallery-dl.conf",