summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/macresource.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Lib/macresource.py')
-rw-r--r--Mac/Lib/macresource.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Lib/macresource.py b/Mac/Lib/macresource.py
index 4eaf076..23713a5 100644
--- a/Mac/Lib/macresource.py
+++ b/Mac/Lib/macresource.py
@@ -91,6 +91,8 @@ def open_pathname(pathname):
# Finally try decoding an AppleSingle file
pathname = _decode(pathname)
refno = Res.FSOpenResourceFile(pathname, u'', 1)
+ else:
+ raise
return refno
def _decode(pathname):