Skip to content

Conversation

@tap-chris
Copy link
Contributor

Check if the original image has been changed since the cache file was created and if so, recreate it, otherwise send cached file.

Check if the original image has been changed since the cache file was
created and if so, recreate it, otherwise send cached file.
zivester added a commit that referenced this pull request Aug 5, 2015
Automatically update the generated thumbnail if the original file has been updated
@zivester zivester merged commit 7103dd8 into zivester:master Aug 5, 2015
@zivester
Copy link
Owner

zivester commented Aug 5, 2015

Thanks for the PR! Now time to write some tests for these...

@tap-chris
Copy link
Contributor Author

Valid point!
I added the test cases in pr #14
I also had to change the cache path since the tests didn't run on my windows machine.
But I used os.tmpdir so it should work on either unix or windows now.
Greetings,
Chris

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