Remove DB records for expired offers option.

This commit is contained in:
tecnovert
2023-07-24 21:55:48 +02:00
parent d4f6286980
commit 67624a252b
8 changed files with 61 additions and 19 deletions

View File

@@ -36,6 +36,7 @@ def page_debug(self, url_split, post_string):
if have_data_entry(form_data, 'remove_expired'):
try:
swap_client.log.warning('Removing expired data.')
remove_expired_data(swap_client)
messages.append('Done.')
except Exception as e: