Permalink
Browse files

fixed fileID UnboundLocalError issue

  • Loading branch information...
urule99@gmail.com
urule99@gmail.com committed Aug 8, 2014
1 parent 59c54e8 commit 95baf21a22589f265c9476f628c45b5c8c535a78
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdf.py
View
2 pdf.py
@@ -498,7 +498,7 @@ def parse(self):
self.objects[value].isEncrypt = True
self.encryptObject = self.populateEncryptObject(self.objects[value])
fileID = ''
fileId = ''
for state, tag, val in trailerobj.tags:
if tag == 'ID':
ids = re.findall('<([\d\w]*)>', val)

0 comments on commit 95baf21

Please sign in to comment.