Skip to content

Commit

Permalink
print both allow/ignore extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
purarue committed Aug 22, 2023
1 parent d720331 commit 7d018ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpv_history_daemon/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def is_allowed(self, media: Media) -> bool:
if self.allow_extensions and ext not in self.allow_extensions:
if self._logger:
self._logger.warning(
f"Media {media.path} has an extension {ext} not in allowed extensions {self.allow_extensions}"
f"Media {media.path} has an extension {ext} not in allowed extensions={self.allow_extensions} or ignored extensions={self.ignore_extensions}"
)
return False

Expand Down

0 comments on commit 7d018ec

Please sign in to comment.