mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2025-10-29 17:40:15 +00:00
Update version
This commit is contained in:
@@ -674,8 +674,11 @@ def main():
|
||||
|
||||
if not Path(GLOBAL.configDirectory).is_dir():
|
||||
os.makedirs(GLOBAL.configDirectory)
|
||||
GLOBAL.config = getConfig("config.json") if Path("config.json").exists() \
|
||||
else getConfig(GLOBAL.configDirectory / "config.json")
|
||||
|
||||
GLOBAL.configDirectory = Path("config.json") if Path("config.json").exists() \
|
||||
else GLOBAL.defaultConfigDirectory / "config.json"
|
||||
|
||||
GLOBAL.config = getConfig(GLOBAL.configDirectory)
|
||||
|
||||
if GLOBAL.arguments.log is not None:
|
||||
logDir = Path(GLOBAL.arguments.log)
|
||||
|
||||
Reference in New Issue
Block a user