We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3566688 commit d5ed15fCopy full SHA for d5ed15f
examples/configloader.py
@@ -36,7 +36,6 @@ def create_config(path):
36
print(f"New config file created, edit config file at: {syspath}")
37
38
def load_config(path):
39
- syspath = which_path() + "/config.yaml"
40
41
if not os.path.exists(syspath):
42
create_config(syspath)
@@ -50,3 +49,5 @@ def load_config(path):
50
49
51
except yaml.YAMLError as exc:
52
print(exc)
+
53
+syspath = which_path() + "/config.yaml"
0 commit comments