Skip to content

Commit

Permalink
Renaming dummy variables, trying again.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus0824 committed Jul 14, 2017
1 parent d3a6db9 commit b64c0a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,9 +301,9 @@

import biothings
(biothings_dir, init_file) = os.path.split(biothings.__file__)

with open(os.path.join(biothings_dir, 'config.py'), 'w') as sphinx_file:
(src_dir, bt_dir) = os.path.split(biothings_dir)
with open(os.path.join(biothings_dir, 'config.py'), 'w') as biothings_config_file,
open(os.path.join(src_dir, 'config.py'), 'w') as root_config_file:
# emulate a dummy config file for now
sphinx_file.write('logging = ""\nHIPCHAT_CONFIG=""\nLOG_FOLDER=""')

#biothings.config_for_app(sphinx_config)
biothings_config_file.write('logger = ""\nHIPCHAT_CONFIG=""\nLOG_FOLDER=""')
root_config_file.write('logger = ""\nHIPCHAT_CONFIG=""\nLOG_FOLDER=""')

0 comments on commit b64c0a0

Please sign in to comment.