Skip to content

Commit

Permalink
Removed a debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
ESultanik committed Nov 4, 2019
1 parent 9dd651d commit 098b1ea
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions polyfile/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,6 @@ def parse_object(file_stream, object, matcher: Matcher, parent=None):
# )
if is_dct_decode and raw_content[:1] == b'\xff':
# This is most likely a JPEG image
with open('/Users/evan/Downloads/test.jpg', 'wb') as f:
f.write(raw_content)
try:
ast = kaitai.parse('jpeg', raw_content)
except Exception as e:
Expand Down

0 comments on commit 098b1ea

Please sign in to comment.