mirror of
https://github.com/nexus-stc/hyperboria
synced 2025-02-11 01:46:51 +01:00
3 lines
58 B
Python
3 lines
58 B
Python
def is_pdf(f):
|
|
return len(f) > 4 and f[:4] == b'%PDF'
|