px_uploader: fix typo and Python 3 issue

This commit is contained in:
Julian Oes
2018-06-29 07:49:38 +02:00
committed by Lorenz Meier
parent b0ec64efe8
commit 193993c54f
+2 -2
View File
@@ -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: