fix home not set (???)

This commit is contained in:
Tomáš Mládek 2019-04-18 13:12:16 +02:00 committed by Tomáš Mládek
parent d751186594
commit 82fb8d2742

View file

@ -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()