Loading nested/config/config.py +2 −1 Original line number Diff line number Diff line import yaml import os.path 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('~/.local/etc/nested/config.yml'): if path.exists(os.path.expanduser("~") + '/.local/etc/nested/config.yml'): print("local!!") config_path = '~/.local/etc/nested/config.yml' else: Loading Loading
nested/config/config.py +2 −1 Original line number Diff line number Diff line import yaml import os.path 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('~/.local/etc/nested/config.yml'): if path.exists(os.path.expanduser("~") + '/.local/etc/nested/config.yml'): print("local!!") config_path = '~/.local/etc/nested/config.yml' else: Loading