Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent 4791ba1 commit fda2bee
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ def wrapper(*args, **kwargs): # noqa
if route_variables in response:
return response[route_variables]
else:
logger.warning("Process finished running but response not "
"in cache. Setting this route as not running, "
"and continuing")
logger.warning(
"Process finished running but response not "
"in cache. Setting this route as not running, "
"and continuing"
)
currently_running[route_variables] = False
break

Expand Down

0 comments on commit fda2bee

Please sign in to comment.