Fix indentation
This commit is contained in:
parent
954e32a819
commit
023828c07a
|
@ -12,7 +12,7 @@ import pylast
|
||||||
def load_secrets():
|
def load_secrets():
|
||||||
secrets_file = "test_pylast.yaml"
|
secrets_file = "test_pylast.yaml"
|
||||||
if os.path.isfile(secrets_file):
|
if os.path.isfile(secrets_file):
|
||||||
import yaml # pip install pyyaml
|
import yaml # pip install pyyaml
|
||||||
with open(secrets_file, "r") as f: # see example_test_pylast.yaml
|
with open(secrets_file, "r") as f: # see example_test_pylast.yaml
|
||||||
doc = yaml.load(f)
|
doc = yaml.load(f)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue