From b1af2b0353946a34ec9d39a5bd0d894ef0b4bd2a Mon Sep 17 00:00:00 2001 From: Elliot Nunn Date: Fri, 9 Nov 2018 18:49:29 +0800 Subject: [PATCH] Support System 7 (lowercase zsys) --- machfs/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machfs/main.py b/machfs/main.py index 1e90fe9..ccb4d0d 100644 --- a/machfs/main.py +++ b/machfs/main.py @@ -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]