From 399e37924118aa5353908ee017b021819830c1c1 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Sat, 16 May 2020 22:49:16 +0200 Subject: [PATCH] fix: [update v1.5] --- update/v1.5/Update-ARDB_Tags.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/update/v1.5/Update-ARDB_Tags.py b/update/v1.5/Update-ARDB_Tags.py index 76baa414..e2e8852e 100755 --- a/update/v1.5/Update-ARDB_Tags.py +++ b/update/v1.5/Update-ARDB_Tags.py @@ -118,12 +118,18 @@ if __name__ == '__main__': last_progress = progress #flush browse importante pastes db - r_important_paste_2018.flushdb() - r_important_paste_2019.flushdb() + try: + r_important_paste_2018.flushdb() + except Exception: + pass + + try: + r_important_paste_2019.flushdb() + except Exception: + pass end = time.time() - print('Updating ARDB_Tags Done => {} paths: {} s'.format(index, end - start)) r_serv.sadd('ail:update_v1.5', 'tags')