mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
px_uploader: fix typo and Python 3 issue
This commit is contained in:
@@ -333,8 +333,8 @@ class uploader(object):
|
|||||||
length = self.__recv_int()
|
length = self.__recv_int()
|
||||||
value = self.__recv(length)
|
value = self.__recv(length)
|
||||||
self.__getSync()
|
self.__getSync()
|
||||||
peices = value.split(",")
|
pieces = value.split(b",")
|
||||||
return peices
|
return pieces
|
||||||
|
|
||||||
def __drawProgressBar(self, label, progress, maxVal):
|
def __drawProgressBar(self, label, progress, maxVal):
|
||||||
if maxVal < progress:
|
if maxVal < progress:
|
||||||
|
|||||||
Reference in New Issue
Block a user