Plugins 0.2 - UI fixes
This commit is contained in:
@@ -2440,8 +2440,8 @@ def send_notifications ():
|
||||
|
||||
changedPorts_json_struc = None
|
||||
|
||||
# DEBUG - print number of rows updated
|
||||
mylog('info', [' Notifications: ', sql.rowcount])
|
||||
# DEBUG - print number of rows updated
|
||||
mylog('info', ['[', timeNow(), '] Notifications: ', sql.rowcount])
|
||||
|
||||
# Commit changes
|
||||
commitDB()
|
||||
@@ -3888,8 +3888,6 @@ def process_plugin_events(plugin):
|
||||
pluginEvents[index].status = "watched-not-changed"
|
||||
|
||||
index += 1
|
||||
|
||||
|
||||
|
||||
# Merge existing plugin objects with newly discovered ones and update existin ones with new values
|
||||
for eveObj in pluginEvents:
|
||||
@@ -3935,14 +3933,6 @@ def process_plugin_events(plugin):
|
||||
|
||||
commitDB()
|
||||
|
||||
# TODO HERE test on empty DB as well
|
||||
# collect notifications here as well?
|
||||
# delete the events here or later? probably later - on notification fail
|
||||
# so the events can be reanalyzed and notification re-send
|
||||
# enable form controls on table columns
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
class plugin_object_class:
|
||||
def __init__(self, plugin, objDbRow):
|
||||
|
||||
Reference in New Issue
Block a user