mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 08:54:16 +00:00
add debug info
This commit is contained in:
@@ -60,7 +60,7 @@ class Cfg:
|
|||||||
|
|
||||||
def __init__(self, cfgpath):
|
def __init__(self, cfgpath):
|
||||||
if not os.path.exists(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
|
# make sure to have an absolute path to config file
|
||||||
self.cfgpath = os.path.abspath(cfgpath)
|
self.cfgpath = os.path.abspath(cfgpath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user