Browse Source

Fix image failure for a show that is force updated, removed, then readded.

tags/release_0.23.1^2
Prinz23 5 years ago
committed by JackDandy
parent
commit
7d950185a7
  1. 7
      CHANGES.md
  2. 8
      lib/cachecontrol/controller.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.23.0 (2020-11-11 13:30:00 UTC)
### 0.23.1 (2020-11-16 23:00:00 UTC)
* Fix image failure for a show that is force updated, removed, then readded
### 0.23.0 (2020-11-11 13:30:00 UTC)
* Change improve search performance for backlog, manual, failed, and proper
* Add overview of the last release age/date at each newznab provider to History/Layout "Connect fails"

8
lib/cachecontrol/controller.py

@ -410,7 +410,15 @@ class CacheController(object):
cached_response.status = 200
# update our cache
try:
cached_response._fp.seek(0)
except (BaseException, Exception):
pass
body = cached_response.read(decode_content=False)
self.cache.set(cache_url, self.serializer.dumps(request, cached_response, body))
try:
cached_response._fp.seek(0)
except (BaseException, Exception):
pass
return cached_response

Loading…
Cancel
Save