http client: minor logging fix
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
4b0685852e
commit
561f5f4230
|
@ -147,6 +147,7 @@ class HttpClient:
|
||||||
if resp.code == 304:
|
if resp.code == 304:
|
||||||
err = None
|
err = None
|
||||||
if cached is None:
|
if cached is None:
|
||||||
|
if enable_cache:
|
||||||
logging.info(
|
logging.info(
|
||||||
"Request returned 304, however no cached "
|
"Request returned 304, however no cached "
|
||||||
"item was found")
|
"item was found")
|
||||||
|
|
Loading…
Reference in New Issue