Corect code style for main Python module. #2
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ try:
|
|||
)
|
||||
database.set_session(readonly=True, autocommit=True)
|
||||
logging.debug(database.get_dsn_parameters())
|
||||
except:
|
||||
except Exception:
|
||||
logging.error("Unable to initialize database, check settings!")
|
||||
time.sleep(10)
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue