mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [Update v2.4] fix empty set
This commit is contained in:
parent
9d652525c4
commit
d2e59c935a
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ if __name__ == '__main__':
|
||||||
r_serv_onion = config_loader.get_redis_conn("ARDB_Onion")
|
r_serv_onion = config_loader.get_redis_conn("ARDB_Onion")
|
||||||
config_loader = None
|
config_loader = None
|
||||||
|
|
||||||
nb_elem_to_update = int( r_serv_db.get('update:nb_elem_to_convert') )
|
nb_elem_to_update = r_serv_db.get('update:nb_elem_to_convert')
|
||||||
|
if not nb_elem_to_update:
|
||||||
|
nb_elem_to_update = 0
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
domain = r_serv_onion.spop('domain_update_v2.4')
|
domain = r_serv_onion.spop('domain_update_v2.4')
|
||||||
|
|
Loading…
Reference in a new issue