fix: [Update v2.4] fix empty set

This commit is contained in:
Terrtia 2019-12-03 10:17:05 +01:00
parent d2e59c935a
commit e91c4a5a9a
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -59,6 +59,8 @@ if __name__ == '__main__':
nb_elem_to_update = r_serv_db.get('update:nb_elem_to_convert')
if not nb_elem_to_update:
nb_elem_to_update = 0
else:
nb_elem_to_update = int(nb_elem_to_update)
while True:
domain = r_serv_onion.spop('domain_update_v2.4')