pdf-glossary icon indicating copy to clipboard operation
pdf-glossary copied to clipboard

"is not" SyntaxWarning error in addon from patreon (for v2.1 anki)

Open srghma opened this issue 4 years ago • 0 comments

when trying to export as one-page pdf

Debug info:
Anki 2.1.36 (c505894b) Python 3.8.1 Qt 5.15.1 PyQt 5.15.1
Platform: Linux
Flags: frz=True ao=True sv=2
Add-ons, last update check: 2021-02-13 16:25:25
Add-ons possibly involved: ⁨PDF Glossary Exporter⁩

/home/srghma/.local/share/Anki2/addons21/pdf_glossary/_vendor/reportlab/platypus/frames.py:269: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  ss = c is not -1
/home/srghma/.local/share/Anki2/addons21/pdf_glossary/_vendor/reportlab/platypus/frames.py:272: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  ss = c is not -1

srghma avatar Feb 13 '21 18:02 srghma