This commit is contained in:
Clint Armstrong
2015-07-22 09:04:12 -04:00
parent 33baea6d6a
commit 6f0969c151

View File

@ -238,7 +238,7 @@ while True:
log.critical('ERROR: MySQL query error. Is your schema up to date?') log.critical('ERROR: MySQL query error. Is your schema up to date?')
sys.exit(2) sys.exit(2)
cursor.fetchall() cursor.fetchall()
log.info('INFO: {0} devices scanned in the last 5 minutes'.format(devices_scanned)) log.info('INFO: {0} devices scanned in the last minute'.format(devices_scanned))
devices_scanned = 0 devices_scanned = 0
next_update = datetime.now() + timedelta(minutes=1) next_update = datetime.now() + timedelta(minutes=1)