Skip to content
Snippets Groups Projects
Commit 29c46f0e authored by Robert Goldmann's avatar Robert Goldmann
Browse files

BaseUtils: bugfix CachedService:

- data wouldn't be fetched again if get_data() is called repeatedly in less than fetchInterval
parent 19773064
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ class CachedService(ABC): ...@@ -21,7 +21,6 @@ class CachedService(ABC):
self._lastFetchTimestamp = now self._lastFetchTimestamp = now
return True return True
self._lastFetchTimestamp = now
return False return False
@abc.abstractmethod @abc.abstractmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment