From 82fb8d27421b0ce6c624fb251c8f4fe47c66c0a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 18 Apr 2019 13:12:16 +0200 Subject: [PATCH] fix home not set (???) --- delojza.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delojza.py b/delojza.py index 6cb88d7..a182489 100755 --- a/delojza.py +++ b/delojza.py @@ -256,7 +256,7 @@ if __name__ == '__main__': _DIR_ = os.path.dirname(os.path.realpath(__file__)) 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")] config = ConfigParser()