mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-01 05:32:58 +08:00
px_uploader: fix typo and Python 3 issue
This commit is contained in:
1 parent
b0ec64efe8
commit
193993c54f
1 file changed
+2
-2
@@ -333,8 +333,8 @@ class uploader(object):
|
||||
length = self.__recv_int()
|
||||
value = self.__recv(length)
|
||||
self.__getSync()
|
||||
peices = value.split(",")
|
||||
return peices
|
||||
pieces = value.split(b",")
|
||||
return pieces
|
||||
|
||||
def __drawProgressBar(self, label, progress, maxVal):
|
||||
if maxVal < progress:
|
||||
|
||||
Reference in new issue
Block a user