Except any exception
This commit is contained in:
2
pvcd.py
2
pvcd.py
@@ -70,7 +70,7 @@ def readConfig(pvcd_config_file, myhostname):
|
|||||||
except:
|
except:
|
||||||
try:
|
try:
|
||||||
entries = o_config['default']
|
entries = o_config['default']
|
||||||
except:
|
except Exception as e:
|
||||||
print('ERROR: Config file is not valid!')
|
print('ERROR: Config file is not valid!')
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user