aFelipeSP / pdfme

Make PDFs easily
MIT License
312 stars 21 forks source link

"is" used with a literal #34

Open DeinAlptraum opened 2 months ago

DeinAlptraum commented 2 months ago

There seems to be some kind of error here:

pdfme/color.py:233: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if color is '':

either this check is useless and could be removed, or this is a bug and should be changed to ==