Skip to content

Commit cf3a73e

Browse files
committed
fixbug
1 parent 619a1ce commit cf3a73e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/sdns.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def task(amapping_blacklist, ip_list):
7373
delay = ping(ip, 2)
7474
except socket.gaierror as e:
7575
delay = None
76-
except Exception as e:
77-
logger.exception(e)
78-
continue
76+
except Exception as e:
77+
logger.exception(e)
78+
continue
7979
if delay == None and ip not in amapping_blacklist:
8080
amapping_blacklist.add(ip)
8181
if delay != None and ip in amapping_blacklist:

0 commit comments

Comments
 (0)