Kaydet (Commit) d21c9f48 authored tarafından Jack Jansen's avatar Jack Jansen

Re-raise the Res.Error if the file doesn't exist.

üst 2cce33f3
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment