vikunja main
This commit is contained in:
@@ -63,6 +63,7 @@ class Inkycal:
|
||||
logger.info("Checking if a settings file is present...")
|
||||
# load settings file - throw an error if file could not be found
|
||||
if settings_path:
|
||||
print(settings_path)
|
||||
logger.info(f"Custom location for settings.json file specified: {settings_path}")
|
||||
try:
|
||||
with open(settings_path, mode="r") as settings_file:
|
||||
@@ -75,6 +76,7 @@ class Inkycal:
|
||||
else:
|
||||
found = False
|
||||
for location in settings.SETTINGS_JSON_PATHS:
|
||||
print(location)
|
||||
if os.path.exists(location):
|
||||
logger.info(f"Found settings.json file in {location}")
|
||||
with open(location, mode="r") as settings_file:
|
||||
|
||||
Reference in New Issue
Block a user