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

Fix warning with Python 3.8 (is/==). #64

Merged
merged 1 commit into from Mar 5, 2020

Conversation

hannob
Copy link
Contributor

@hannob hannob commented Mar 5, 2020

With Python 3.8 there is a warning:

//usr/lib/python3.8/site-packages/cropgui/cropgtk.py:294: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif image_type is "jpeg":

"is" shouldn't be used for string comparisons, changing it to "==". Please apply.

@jepler jepler merged commit e492f3b into jepler:master Mar 5, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants