mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-06 13:12:47 +00:00
Fix path/title join
This commit is contained in:
@@ -54,7 +54,7 @@ class UnlistTitles(Rule):
|
||||
consequence = [RemoveMatch, AppendMatch]
|
||||
|
||||
def when(self, matches: Matches, context) -> Any:
|
||||
titles: List[Match] = matches.named("title") # type: ignore
|
||||
titles: List[Match] = matches.named("title", lambda x: x.tagged("title")) # type: ignore
|
||||
|
||||
if not titles or len(titles) <= 1:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user