Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

SyntaxWarnings and DeprecationWarning #7

Open
DavePvZ opened this issue Aug 13, 2022 · 1 comment
Open

SyntaxWarnings and DeprecationWarning #7

DavePvZ opened this issue Aug 13, 2022 · 1 comment

Comments

@DavePvZ
Copy link

DavePvZ commented Aug 13, 2022

~/Desktop/sources/Metamorphosis/Iconolatry.py:178: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if path is "":
~/Desktop/sources/Metamorphosis/Iconolatry.py:194: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if name is "":
~/Desktop/sources/Metamorphosis/Iconolatry.py:212: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if frmt is "":
~/Desktop/sources/Metamorphosis/Metamorphosis.py:267: DeprecationWarning: ANTIALIAS is deprecated and will be removed in Pillow 10 (2023-07-01). Use Resampling.LANCZOS instead.
  def resize_meth(self, image, method = Image.ANTIALIAS):

(Python 3.10.5)

@paulsybrandy
Copy link

Same issue here with exact same errors and warning. Any help is much appreciated.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants