1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 17:24:46 +00:00

add debug info

This commit is contained in:
deadc0de6
2018-06-17 11:19:34 +02:00
parent e04564e06b
commit 6bc14838eb

View File

@@ -60,7 +60,7 @@ class Cfg:
def __init__(self, cfgpath):
if not os.path.exists(cfgpath):
raise ValueError('config file does not exist')
raise ValueError('config file does not exist: {}'.format(cfgpath))
# make sure to have an absolute path to config file
self.cfgpath = os.path.abspath(cfgpath)