Skip to content

Commit 050d7f4

Browse files
authored
Merge pull request Tigge#23 from Echelon9/fix/issue-21
Fix truncated return from UploadDataCommand._parse_args()
2 parents 0bc1b39 + abbd251 commit 050d7f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ant/fs/command.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ def get(self):
302302

303303
@classmethod
304304
def _parse_args(cls, data):
305-
return struct.unpack("<BBHI", data[0:8])
306-
+ (data[8:-8],) + struct.unpack("<6xH", data[-8:])
305+
return struct.unpack("<BBHI", data[0:8]) + (data[8:-8],) + struct.unpack("<6xH", data[-8:])
307306

308307

309308
class UploadDataResponse(Command):

0 commit comments

Comments
 (0)