mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Rename variable in load_yaml to match load_json
This commit is contained in:
parent
5420b7e546
commit
e41dbdd807
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ def load_json(path):
|
|||
|
||||
def load_yaml(path):
|
||||
import yaml
|
||||
with open(path, 'r') as fobj:
|
||||
return yaml.safe_load(fobj)
|
||||
with open(path, 'r') as stream:
|
||||
return yaml.safe_load(stream)
|
||||
|
||||
|
||||
def load_data(path):
|
||||
|
|
Loading…
Add table
Reference in a new issue