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

cs_backgrounds.py: Don't check mimetype if filename is None #5690

Merged
merged 1 commit into from Sep 14, 2016

Conversation

itzexor
Copy link
Contributor

@itzexor itzexor commented Sep 14, 2016

This prevents a crash introduced with the mimtypes change if
mimetypes.guess_type() is called when filename = None.

This prevents a crash introduced with the mimetypes change if
mimetypes.guess_type() is called when filename = None.
@clefebvre clefebvre merged commit a4b8773 into linuxmint:master Sep 14, 2016
@itzexor itzexor deleted the cs-backgrounds-fix branch April 8, 2017 05:50
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