fix late-night directory snafu

This commit is contained in:
sommersoft 2019-07-04 01:49:40 -05:00
parent 9ccebb0968
commit 42ed84141e
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ master_doc = 'docs/index'
# in 'shared-bindings/index.rst'
shared_bindings_json = 'support_matrix.json'
if 'TRAVIS' in os.environ:
shared_bindings_json = os.path.join('$HOME', shared_bindings_json)
shared_bindings_json = os.path.join(os.environ['HOME'], shared_bindings_json)
else:
shared_bindings_json = os.path.join('shared-bindings', shared_bindings_json)
with open(shared_bindings_json) as json_file:

View File

@ -122,7 +122,7 @@ if __name__ == "__main__":
shared_bindings_json = 'support_matrix.json'
if 'TRAVIS' in os.environ:
shared_bindings_json = os.path.join('$HOME', shared_bindings_json)
shared_bindings_json = os.path.join(os.environ['HOME'], shared_bindings_json)
else:
print(final_json)
shared_bindings_json = os.path.join('shared-bindings', shared_bindings_json)