modified = __database__.wasProfileTWModified(profileid, twid)
self.outputqueue.put("40|logs|\t[Logs] Profile: {}. TW {}. Modified {}".format(profileid, twid, modified))
if modified:
self.outputqueue.put("50|logs|\t[Logs] Profile: {}. TW {}. Was Modified. So process it".format(profileid, twid))
dstips = __database__.getDstIPsfromProfileTW(profileid, twid)
if dstips:
// Add dstips
After Change
except Exception as inst:
self.outputqueue.put("01|logs|\t[Logs] Error in process_global_data in LogsProcess")
self.outputqueue.put("01|logs|\t[Logs] {}".format(type(inst)))
self.outputqueue.put("01|logs|\t[Logs] {}".format(inst))
sys.exit(1)
class TimerThread(threading.Thread):