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