fix home not set (???)
This commit is contained in:
parent
d751186594
commit
82fb8d2742
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
_DIR_ = os.path.dirname(os.path.realpath(__file__))
|
_DIR_ = os.path.dirname(os.path.realpath(__file__))
|
||||||
CONFIG_PATHS = ['/etc/delojza/delojza.ini',
|
CONFIG_PATHS = ['/etc/delojza/delojza.ini',
|
||||||
os.path.join(os.getenv("HOME"), ".config/delojza/delojza.ini"),
|
os.path.join(os.getenv("HOME") or "", ".config/delojza/delojza.ini"),
|
||||||
os.path.join(_DIR_, "delojza.ini")]
|
os.path.join(_DIR_, "delojza.ini")]
|
||||||
|
|
||||||
config = ConfigParser()
|
config = ConfigParser()
|
||||||
|
|
Loading…
Reference in a new issue