Commit eca80fb0 authored by Pavel Jedlicka's avatar Pavel Jedlicka
Browse files

Update config.py

parent 40d33fc2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -4,9 +4,10 @@ from os import path
from os.path import expanduser

# depending on whether nester was installed with the --user argument locally or not
if path.exists(os.path.expanduser("~") + '/.local/etc/nested/config.yml'):
home = os.path.expanduser("~")
if path.exists(home + '/.local/etc/nested/config.yml'):
    print("local!!")
    config_path = '~/.local/etc/nested/config.yml'
    config_path = home + '/.local/etc/nested/config.yml'
else:
    print("/etc!!")
    config_path = '/etc/nested/config.yml'