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