changed path to a standard config path
This commit is contained in:
parent
99d387c692
commit
e732a3457d
@ -1,7 +1,7 @@
|
||||
import requests, json, re, os
|
||||
from datetime import datetime
|
||||
|
||||
def loadSettings(path = f"{os.path.expanduser('~')}/config.json") -> dict:
|
||||
def loadSettings(path = f"{os.path.expanduser('~')}/.config/dyn-gandi/config.json") -> dict:
|
||||
# TODO: check integrity
|
||||
try:
|
||||
with open(path, 'r') as file:
|
||||
|
Loading…
Reference in New Issue
Block a user