mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +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):
|
def load_yaml(path):
|
||||||
import yaml
|
import yaml
|
||||||
with open(path, 'r') as fobj:
|
with open(path, 'r') as stream:
|
||||||
return yaml.safe_load(fobj)
|
return yaml.safe_load(stream)
|
||||||
|
|
||||||
|
|
||||||
def load_data(path):
|
def load_data(path):
|
||||||
|
|
Loading…
Add table
Reference in a new issue