diff --git a/src/travis/svars-write.py b/src/travis/svars-write.py index 98f0222e..779a4c96 100644 --- a/src/travis/svars-write.py +++ b/src/travis/svars-write.py @@ -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)