Commit 565c108b authored by Pavel Jedlicka's avatar Pavel Jedlicka
Browse files

Update config.py

parent eca80fb0
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -6,10 +6,8 @@ from os.path import expanduser
# depending on whether nester was installed with the --user argument locally or not
# depending on whether nester was installed with the --user argument locally or not
home = os.path.expanduser("~")
home = os.path.expanduser("~")
if path.exists(home + '/.local/etc/nested/config.yml'):
if path.exists(home + '/.local/etc/nested/config.yml'):
    print("local!!")
    config_path = home + '/.local/etc/nested/config.yml'
    config_path = home + '/.local/etc/nested/config.yml'
else:
else:
    print("/etc!!")
    config_path = '/etc/nested/config.yml'
    config_path = '/etc/nested/config.yml'
    
    
with open(config_path) as stream:
with open(config_path) as stream: