Permalink
Browse files

zipfile cleanup broke template support.

  • Loading branch information...
1 parent a976e77 commit f6701908fbc174bd54b85d2fbea2f6e9413294bd @clach04 committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 odplib/zipwrap.py
View
@@ -129,7 +129,7 @@ def cat(self, path):
path = os.path.join(self.src_dir, path)
if os.path.exists(path):
if os.path.isfile(path):
- f = open(fpath, 'rb')
+ f = open(path, 'rb')
content = f.read()
f.close()
return content

0 comments on commit f670190

Please sign in to comment.