os.path.join...

This commit is contained in:
Jay Lee
2020-04-23 15:56:06 -04:00
parent 7dfdf4cdbd
commit 7df2293f1b

View File

@@ -7,6 +7,6 @@ cfg['client_secret'] = os.getenv('client_secret')
jid = os.getenv('jid')
cfg['refresh_token'] = os.getenv('refresh_%s' % jid)
gampath = os.getenv('gampath')
out_file = os.join(gampath, 'oauth2.txt')
out_file = os.path.join(gampath, 'oauth2.txt')
with open(out_file, 'w') as f:
json.dump(cfg, f)