Uploader: Fix flashing if multiple board types are connected

This commit is contained in:
Lorenz Meier
2015-03-02 21:11:21 +01:00
parent 8424325f73
commit a31fccb0b0
+4
View File
@@ -565,6 +565,10 @@ try:
except RuntimeError as ex: except RuntimeError as ex:
if "not suitable" in ex.args:
up.close()
continue
else:
# print the error # print the error
print("\nERROR: %s" % ex.args) print("\nERROR: %s" % ex.args)