diff --git a/decal b/decal index 00406a4..07909ed 100755 --- a/decal +++ b/decal @@ -78,7 +78,7 @@ if not os.path.exists(configpath): config['DEFAULT'] = {'uri': 'your caldav server here', 'user': 'your username here', 'password': 'your pass here', - 'cache':os.env['HOME']+'/.cache/decal.json', + 'cache':os.getenv('HOME')+'/.cache/decal.json', 'cacheEnabled':1, 'syncAfter':1} print("Creating an empty config in ~/.config/decal.conf")