Skip to content

Commit

Permalink
capitalize Loader keyword arg
Browse files Browse the repository at this point in the history
  • Loading branch information
crcornwell authored May 3, 2019
1 parent f90a2b0 commit 3c0fe47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlalchemy_seed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def load_fixture_files(paths, files):

with open(fixture_path, 'r') as f:
if file.endswith('.yaml') or file.endswith('.yml'):
data = yaml.load(f, loader=Loader)
data = yaml.load(f, Loader=Loader)
elif file.endswith('.json'):
data = json.loads(f)
else:
Expand Down

0 comments on commit 3c0fe47

Please sign in to comment.