mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
Fixed improper SQL query addition
This commit is contained in:
parent
9366588ae8
commit
d6557d2175
|
@ -85,7 +85,9 @@ class Discussions:
|
||||||
wiki.script_url)))
|
wiki.script_url)))
|
||||||
wiki.statistics.update(last_post=discussion_feed[-1]["id"])
|
wiki.statistics.update(last_post=discussion_feed[-1]["id"])
|
||||||
else:
|
else:
|
||||||
dbmanager.add(wiki.script_url, "0", True)
|
dbmanager.add(("UPDATE rcgcdb SET postid = $1 WHERE wiki = $2 AND ( postid != '-1' OR postid IS NULL )", (
|
||||||
|
"0",
|
||||||
|
wiki.script_url)))
|
||||||
wiki.statistics.update(last_post="0")
|
wiki.statistics.update(last_post="0")
|
||||||
return
|
return
|
||||||
comment_events = []
|
comment_events = []
|
||||||
|
|
Loading…
Reference in a new issue