Browse Source

catch type error when pulling phantom pads

add-quote-import
Michael Murtaugh 8 years ago
parent
commit
c20592ddc2
  1. 4
      etherdump/commands/pull.py

4
etherdump/commands/pull.py

@ -129,6 +129,10 @@ def main (args):
break break
else: else:
sleep(3) sleep(3)
except TypeError as e:
print ("Type Error loading pad {0} (phantom pad?), skipping".format(padid).encode("utf-8"), file=sys.stderr)
skip=True
break
if skip: if skip:
continue continue

Loading…
Cancel
Save