Loading nested/config/config.py +3 −2 Original line number Diff line number Diff line Loading @@ -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' Loading Loading
nested/config/config.py +3 −2 Original line number Diff line number Diff line Loading @@ -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' Loading