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 for #48 #49

Merged
merged 1 commit into from
Feb 18, 2019
Merged

Fix for #48 #49

merged 1 commit into from
Feb 18, 2019

Conversation

dries007
Copy link
Collaborator

While I don't think reloading the image every single request is a good idea (I think it should be read on load so it's cached and won't crash if the image file doesn't exist or is deleted while the code is running), this does fix this issue and is the quickest possible fix.

Warning: I only tested this patch locally on my 3.7 install when upgrading a project to 1.13, and am making this PR with the GH online editor.

While I don't think reloading the image every single request is a good idea (I think it should be read on load so it's cached and won't crash if the image file doesn't exist or is deleted while the code is running), this does fix this issue and is the quickest possible fix.

_Warning:_ I only tested this patch locally on my 3.7 install when upgrading a project to 1.13, and am making this PR with the GH online editor.
@barneygale
Copy link
Owner

Sorry for the long delay, and thanks for the fix. I'll look into caching the favicon.

@barneygale barneygale merged commit 15157e7 into barneygale:master Feb 18, 2019
@dries007 dries007 deleted the patch-1 branch June 28, 2020 21:32
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.

2 participants