Skip to content

Commit

Permalink
fava.util: remove unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
yagebu committed Dec 24, 2023
1 parent cd3a96d commit 4fbce49
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/fava/util/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
from flask.wrappers import Response


BASEPATH = Path(__file__).parent.parent


def filter_api_changed(record: logging.LogRecord) -> bool:
"""Filter out LogRecords for requests that poll for changes."""
return "/api/changed HTTP" not in record.getMessage()
Expand Down

0 comments on commit 4fbce49

Please sign in to comment.