From dc5ce1186f2e956553883fd833915c9e7f14b677 Mon Sep 17 00:00:00 2001 From: Klafyvel Date: Mon, 18 Dec 2017 15:29:32 +0100 Subject: [PATCH] credentials --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 1881379..eab7b97 100644 --- a/main.py +++ b/main.py @@ -86,7 +86,7 @@ if DEBUG: TIMEDELTA_SYNCHRO = datetime.timedelta(days=15) # Number of days to look for # for synchronization -with open('ntnoe_credentials') as f: +with open(os.path.join(APP_DIR, 'ntnoe_credentials')) as f: NTNOE_ID, NTNOE_PASS, _ = f.read().split('\n') SCOPES = 'https://www.googleapis.com/auth/calendar'