mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2025-08-07 06:27:18 +00:00
Fixed bytes/str issue for spartados directory
This commit is contained in:
@@ -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]
|
||||||
|
Reference in New Issue
Block a user