Support System 7 (lowercase zsys)

This commit is contained in:
Elliot Nunn 2018-11-09 18:49:29 +08:00
parent 350f11b0c0
commit b1af2b0353

View File

@ -338,7 +338,7 @@ class Volume(directory.AbstractFolder):
wrap.path = path
wrap.cnid = drNxtCNID; drNxtCNID += 1
if isinstance(obj, File) and obj.type == b'ZSYS':
if isinstance(obj, File) and obj.type.upper() == b'ZSYS':
try:
sysname = path[-1]