Skip to content

Commit

Permalink
Another formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kadhikari committed Jul 25, 2024
1 parent 231e56f commit c84806d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ def _get_informations(self, poi):
service_key = self.WS_URL_TEMPLATE.format(self.contract, self.api_key) + self.network
data = self._data.get(service_key)
if (
data is None
or self._last_update + datetime.timedelta(seconds=self._update_interval) < datetime.datetime.utcnow()
data is None
or self._last_update + datetime.timedelta(seconds=self._update_interval) < datetime.datetime.utcnow()
):
self._data[service_key] = self._call_webservice()
self._last_update = datetime.datetime.utcnow()
Expand Down

0 comments on commit c84806d

Please sign in to comment.