Skip to content

Commit 9e0b10d

Browse files
committed
RDBC-694 Fix bug that appeared after the changes
1 parent d51b292 commit 9e0b10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ravendb/http/http_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def set(self, url: str, change_vector: str, result: str) -> None:
9191
self.__items[url] = http_cache_item
9292

9393
def get(self, url: str) -> (ReleaseCacheItem, str, str):
94-
item = self.__items.get(url, None)
94+
item = self.__items.get(url, None) if self.__items else None
9595
if item is not None:
9696
change_vector = item.change_vector
9797
response = item.payload

0 commit comments

Comments
 (0)