mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-21 09:07:46 +01:00
16a151ae19
GitOrigin-RevId: 55a38effd769ab15a3e0893cac84754ffb1de5a0
3 lines
58 B
Python
3 lines
58 B
Python
def is_pdf(f):
|
|
return len(f) > 4 and f[:4] == b'%PDF'
|