Skip to content

Commit 3c0fe47

Browse files
authored
capitalize Loader keyword arg
1 parent f90a2b0 commit 3c0fe47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_seed/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def load_fixture_files(paths, files):
6363

6464
with open(fixture_path, 'r') as f:
6565
if file.endswith('.yaml') or file.endswith('.yml'):
66-
data = yaml.load(f, loader=Loader)
66+
data = yaml.load(f, Loader=Loader)
6767
elif file.endswith('.json'):
6868
data = json.loads(f)
6969
else:

0 commit comments

Comments
 (0)