Fixed bytes/str issue for spartados directory

This commit is contained in:
Rob McMullen 2018-06-24 10:08:07 -07:00
parent 223f8fc1ff
commit 1b7e1fad4c
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class SpartaDosDirent(AtariDosDirent):
self.starting_sector = int(values[1])
self.basename = bytes(values[4]).rstrip()
if self.is_dir:
self.ext = ""
self.ext = b""
else:
self.ext = bytes(values[5]).rstrip()
self.length = 256*256*values[3] + values[2]