From 7ab16b360739c4754c954ceb54b226ab0a30c215 Mon Sep 17 00:00:00 2001 From: Nitzo Date: Sat, 2 Jan 2016 01:37:43 +0200 Subject: "is" is evil --- module/plugins/hooks/XFileSharing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/hooks/XFileSharing.py') diff --git a/module/plugins/hooks/XFileSharing.py b/module/plugins/hooks/XFileSharing.py index 4af246da8..3de4d02eb 100644 --- a/module/plugins/hooks/XFileSharing.py +++ b/module/plugins/hooks/XFileSharing.py @@ -84,7 +84,7 @@ class XFileSharing(Addon): self.log_info(_("Handle %d %s%s: %s") % (len(plugin_set), type, - "" if len(plugin_set) is 1 else "s", + "" if len(plugin_set) == 1 else "s", match_list.replace('\.', '.').replace('|', ', '))) else: plugin_list = [] -- cgit v1.2.3