fix late-night directory snafu
This commit is contained in:
parent
9ccebb0968
commit
42ed84141e
2
conf.py
2
conf.py
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue