Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

Commit

Permalink
Allow generator to accept files outside of configuration directory
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacBlanco committed Jul 27, 2016
1 parent 71a6ce1 commit 7f7e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo_utils/demo_utils/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, schema, seed=''):
# Returns true/false whether or not the schema is valid
# Raises an exception?
def check_schema(self, schema):
path = config.get_conf_dir() + schema
path = config.get_path(schema)

with open(path) as data_file:
conf = json.load(data_file)
Expand Down

0 comments on commit 7f7e205

Please sign in to comment.