This commit is contained in:
tdurieux
2019-09-27 13:43:55 -04:00
parent 40d20a8a5a
commit be7186b512

View File

@@ -520,7 +520,7 @@ class Anonymous_Github:
os.mkdir(config_path)
with open(config_path + "/config.json", 'w') as outfile:
token = None
if user is not None:
if user is not None and 'token' in user:
token = user['token']['access_token']
json.dump({
"id": id,