diff options
author | Renard | 2020-07-30 21:25:12 -0400 |
---|---|---|
committer | Renard | 2020-07-30 21:25:12 -0400 |
commit | ab7907ae8adf2f6bcbb969ed959f5c8324cb9e8b (patch) | |
tree | d4ab489e3be2a7dd54fc24fcf1c47cb0606a11c6 /cgi | |
parent | 299fd02d0616380ed60d180763483b004c004ad9 (diff) | |
download | weabot-ab7907ae8adf2f6bcbb969ed959f5c8324cb9e8b.tar.gz weabot-ab7907ae8adf2f6bcbb969ed959f5c8324cb9e8b.tar.xz weabot-ab7907ae8adf2f6bcbb969ed959f5c8324cb9e8b.zip |
AAAAAA
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/modapi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/modapi.py b/cgi/modapi.py index 4c008de..abefdc9 100644 --- a/cgi/modapi.py +++ b/cgi/modapi.py @@ -93,7 +93,7 @@ def api_process(self, path_split): UpdateDb("DELETE FROM `reports` WHERE `id` = '" + _mysql.escape_string(report_id)+"'") else: - values['state']: "error" + values['state'] = "error" else: reports = FetchAll( "SELECT id, timestamp, timestamp_formatted, postid, parentid, link, board, INET6_NTOA(ip) AS ip, reason, INET6_NTOA(repip) AS repip FROM `reports` ORDER BY `timestamp` DESC") |