mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-06-17 21:30:07 +00:00
Fixed bytes/str issue for spartados directory
This commit is contained in:
parent
223f8fc1ff
commit
1b7e1fad4c
|
@ -66,7 +66,7 @@ class SpartaDosDirent(AtariDosDirent):
|
||||||
self.starting_sector = int(values[1])
|
self.starting_sector = int(values[1])
|
||||||
self.basename = bytes(values[4]).rstrip()
|
self.basename = bytes(values[4]).rstrip()
|
||||||
if self.is_dir:
|
if self.is_dir:
|
||||||
self.ext = ""
|
self.ext = b""
|
||||||
else:
|
else:
|
||||||
self.ext = bytes(values[5]).rstrip()
|
self.ext = bytes(values[5]).rstrip()
|
||||||
self.length = 256*256*values[3] + values[2]
|
self.length = 256*256*values[3] + values[2]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user