From 05b60ee779c1da429c8a346d21b7d581de660107 Mon Sep 17 00:00:00 2001 From: sadorowo Date: Sun, 14 Jan 2024 19:55:02 +0100 Subject: [PATCH] patch: similarity ratio --- __main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index 8968a76..b105ede 100644 --- a/__main__.py +++ b/__main__.py @@ -126,7 +126,7 @@ def get_channels(playlist: tv_playlist.M3UPlaylist): yield channel.name def get_similarity_ratio(a: str, b: str): - return SequenceMatcher(None, a, b).ratio() + return SequenceMatcher(None, a.lower(), b.lower()).ratio() if __name__ == "__main__": debug("Starting...")