Reverted try/except from read method
This commit is contained in:
parent
3555f1d426
commit
06392c9a3d
|
@ -49,11 +49,7 @@ def loadConfig():
|
||||||
'Loading config files from directory specified'
|
'Loading config files from directory specified'
|
||||||
' on startup: %s', state.appdata)
|
' on startup: %s', state.appdata)
|
||||||
else:
|
else:
|
||||||
try:
|
config.read(paths.lookupExeFolder() + 'keys.dat')
|
||||||
config.read(paths.lookupExeFolder() + 'keys.dat')
|
|
||||||
except: # noqa:E722
|
|
||||||
logger.info(
|
|
||||||
'Permission error in BMConfigParser().read() method for keys.dat file')
|
|
||||||
|
|
||||||
if config.safeGet('bitmessagesettings', 'settingsversion'):
|
if config.safeGet('bitmessagesettings', 'settingsversion'):
|
||||||
logger.info('Loading config files from same directory as program.')
|
logger.info('Loading config files from same directory as program.')
|
||||||
|
|
Reference in New Issue
Block a user