Skip to content
New issue

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

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

Already on GitHub? Sign in 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.

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

No branches or pull requests

2 participants