mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
More ruff linter fixes
This commit is contained in:
@@ -47,7 +47,7 @@ class APIDxStatsHandler(tornado.web.RequestHandler):
|
||||
one_hour_ago = (datetime.now(pytz.UTC) - timedelta(hours=1)).timestamp()
|
||||
counts = Counter()
|
||||
|
||||
for key in self._spots.keys():
|
||||
for key in self._spots:
|
||||
spot = self._spots.get(key)
|
||||
if spot is None:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user