Lines 320 and 334 in pdf.py both contain the code:
streamLocation = re.search(....);
In both cases, the return value is unchecked. In the case where no match is
found this leads to a fatal AttributeError on the following line when
streamLocation.start() is accessed.
Suggest adding an 'if streamLocation:' check in both cases to allow the script
to continue.
Original issue reported on code.google.com by shanecar...@gmail.com on 8 Aug 2014 at 6:26
Original issue reported on code.google.com by
shanecar...@gmail.com
on 8 Aug 2014 at 6:26