mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
+1
-4
@@ -96,10 +96,7 @@ class DB:
|
||||
self.connect()
|
||||
except (AttributeError, MySQLdb.ProgrammingError):
|
||||
log.warning('WARNING: MySQL Programming Error during query, attempting query again.')
|
||||
try:
|
||||
cursor.close()
|
||||
except:
|
||||
pass
|
||||
cursor.close()
|
||||
|
||||
|
||||
def get_config_data():
|
||||
|
||||
Reference in New Issue
Block a user