utils.pdf: cast field's flags (#75089)
gitea/passerelle/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Dauvergne 2023-03-03 15:45:51 +01:00
parent 132508a15d
commit bc181b5531
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class Page:
if not annotation.FT:
continue
pdf_field_type = annotation.FT
pdf_field_flags = annotation.Ff or 0
pdf_field_flags = int(annotation.Ff or 0)
RADIO_FLAG = 2**16
PUSH_BUTTON_FLAG = 2**17
if (