pre-commit autoupdate
This commit is contained in:
parent
4e98e7af4c
commit
af036ec5d5
2 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ def load_secrets():
|
|||
if os.path.isfile(secrets_file):
|
||||
import yaml # pip install pyyaml
|
||||
|
||||
with open(secrets_file, "r") as f: # see example_test_pylast.yaml
|
||||
with open(secrets_file) as f: # see example_test_pylast.yaml
|
||||
doc = yaml.load(f)
|
||||
else:
|
||||
doc = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue