credentials

This commit is contained in:
Klafyvel 2017-12-18 15:29:32 +01:00
parent f756ae95fc
commit dc5ce1186f

View file

@ -86,7 +86,7 @@ if DEBUG:
TIMEDELTA_SYNCHRO = datetime.timedelta(days=15) # Number of days to look for TIMEDELTA_SYNCHRO = datetime.timedelta(days=15) # Number of days to look for
# for synchronization # 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') NTNOE_ID, NTNOE_PASS, _ = f.read().split('\n')
SCOPES = 'https://www.googleapis.com/auth/calendar' SCOPES = 'https://www.googleapis.com/auth/calendar'