Skip to content

Commit

Permalink
Fix getting the testing conf out of the ini
Browse files Browse the repository at this point in the history
  • Loading branch information
bgyori committed Nov 24, 2020
1 parent 387a3d9 commit 613983c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indra_db/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _load_config():

# Handle general parameters
if section == 'general':
if CONFIG.pop('testing', None) == 'true':
if def_dict.pop('testing', None) == 'true':
CONFIG['testing'] = True
else:
CONFIG['testing'] = False
Expand Down

0 comments on commit 613983c

Please sign in to comment.