mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-30 13:35:49 +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'
|