mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
fix issue where rcid = None is never resolved
This commit is contained in:
parent
d299b515e5
commit
d88bb027cb
|
@ -94,10 +94,10 @@ async def wiki_scanner():
|
|||
if db_wiki[5] is None: # new wiki, just get the last rc to not spam the channel
|
||||
if len(recent_changes) > 0:
|
||||
DBHandler.add(db_wiki[1], recent_changes[-1]["rcid"])
|
||||
continue
|
||||
else:
|
||||
DBHandler.add(db_wiki[1], 0)
|
||||
continue
|
||||
DBHandler.update_db()
|
||||
continue
|
||||
categorize_events = {}
|
||||
targets = generate_targets(db_wiki[1])
|
||||
paths = get_paths(db_wiki[1], recent_changes_resp)
|
||||
|
|
Loading…
Reference in a new issue