Browse Source

missingnotice: Call RedFamWorker.flush_db_cache

To write status changes to db

Issue #64 (https://git.golderweb.de/wiki/jogobot-red/issues/64)
develop
Jonathan Golder 6 years ago
parent
commit
dea5a393ad
  1. 4
      bots/missingnotice.py

4
bots/missingnotice.py

@ -65,6 +65,10 @@ ON `cl_from` = `page_id`
if links:
self.page_content.append( self.format_row( links ) )
else:
# To write "absent" states to db
RedFamWorker.flush_db_cache()
# Update page content
self.update_page()

Loading…
Cancel
Save