Skip to content
Snippets Groups Projects
Commit 5093b6d1 authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

fix bug catch except

parent 92f0d74d
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ def print_mapping_state():
is_converged = False
while True:
try:
contents = ["--- New record ---"]
is_changed = False
for id_node in map_security_node.keys():
......@@ -63,6 +64,8 @@ def print_mapping_state():
elif time_converge != 0 and not is_converged and (time.time() - time_converge) > 10:
is_converged = True
print("Converged")
except RuntimeError:
pass
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment