mirror of https://github.com/dirtbags/moth.git
removed error check on os.remove
This commit is contained in:
parent
f583b2851e
commit
f19f096082
|
@ -157,11 +157,7 @@ while True:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# remove the file
|
# remove the file
|
||||||
try:
|
|
||||||
os.remove(os.path.join(IP_DIR, ip))
|
os.remove(os.path.join(IP_DIR, ip))
|
||||||
except Exception as e:
|
|
||||||
print('pollster: could not remove %s' % os.path.join(IP_DIR, ip))
|
|
||||||
traceback.print_exc()
|
|
||||||
|
|
||||||
results = {}
|
results = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue