fix: [update v1.5]

This commit is contained in:
Terrtia 2020-05-16 22:49:16 +02:00
parent c675cb2eaa
commit 399e379241
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -118,12 +118,18 @@ if __name__ == '__main__':
last_progress = progress last_progress = progress
#flush browse importante pastes db #flush browse importante pastes db
try:
r_important_paste_2018.flushdb() r_important_paste_2018.flushdb()
except Exception:
pass
try:
r_important_paste_2019.flushdb() r_important_paste_2019.flushdb()
except Exception:
pass
end = time.time() end = time.time()
print('Updating ARDB_Tags Done => {} paths: {} s'.format(index, end - start)) print('Updating ARDB_Tags Done => {} paths: {} s'.format(index, end - start))
r_serv.sadd('ail:update_v1.5', 'tags') r_serv.sadd('ail:update_v1.5', 'tags')