catch type error when pulling phantom pads
This commit is contained in:
parent
de1be3cbc2
commit
c20592ddc2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user