diff --git a/poller-service.py b/poller-service.py index c78e12e53..fc42af4a1 100755 --- a/poller-service.py +++ b/poller-service.py @@ -80,6 +80,7 @@ class DB: self.connect() except (AttributeError, MySQLdb.ProgrammingError): log.warning('WARNING: MySQL Programming Error during query, attempting query again.') + cursor.close() def get_config_data():