Skip to content
Snippets Groups Projects
Commit c20592dd authored by Michael Murtaugh's avatar Michael Murtaugh
Browse files

catch type error when pulling phantom pads

parent de1be3cb
No related merge requests found
......@@ -129,6 +129,10 @@ def main (args):
break
else:
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:
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment