From e91c4a5a9a533f4cd8686bea1e4a8c277e35bcfb Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 3 Dec 2019 10:17:05 +0100 Subject: [PATCH] fix: [Update v2.4] fix empty set --- update/v2.4/Update_domain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update/v2.4/Update_domain.py b/update/v2.4/Update_domain.py index 728e4f18..94d3407a 100755 --- a/update/v2.4/Update_domain.py +++ b/update/v2.4/Update_domain.py @@ -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')