Corrected IP Log Deletion

This commit is contained in:
Thomas Williams 2024-11-08 17:03:31 +00:00
parent e4c3606e31
commit 2667c9212e
Signed by: thomas
GPG key ID: EB8F975CF60BCBFF

2
log.py
View file

@ -316,7 +316,7 @@ class logsManager:
elif logType == 'urllogs': elif logType == 'urllogs':
tableName = 'monutil_urlLogs' tableName = 'monutil_urlLogs'
elif logType == 'iplogs': elif logType == 'iplogs':
tableName == 'monutil_ipblock' tableName = 'monutil_ipblock'
conn = pyodbc.connect(self.conn_str) conn = pyodbc.connect(self.conn_str)
cursor = conn.cursor() cursor = conn.cursor()