Skip to content

Commit e01dad1

Browse files
author
Jonathan Lutterbeck
committed
Fix error
path variable was named wrong
1 parent d5ed15f commit e01dad1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/configloader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ def which_path():
3232

3333
def create_config(path):
3434
cwd = os.getcwd()
35-
shutil.copyfile(f"{cwd}/config.yaml", syspath)
36-
print(f"New config file created, edit config file at: {syspath}")
35+
shutil.copyfile(f"{cwd}/config.yaml", path)
36+
print(f"New config file created, edit config file at: {path}")
3737

3838
def load_config(path):
3939

0 commit comments

Comments
 (0)