diff options
author | 2016-01-02 00:37:43 +0100 | |
---|---|---|
committer | 2016-01-02 00:37:43 +0100 | |
commit | 7ab16b360739c4754c954ceb54b226ab0a30c215 (patch) | |
tree | c7d522cfe574f43ebb862d51f3693cd974cde04f /module/plugins/internal/Addon.py | |
parent | [ExternalScripts] fix #2251 + much more (diff) | |
download | pyload-7ab16b360739c4754c954ceb54b226ab0a30c215.tar.xz |
"is" is evil
Diffstat (limited to 'module/plugins/internal/Addon.py')
-rw-r--r-- | module/plugins/internal/Addon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Addon.py b/module/plugins/internal/Addon.py index b171813d8..fcb9210ce 100644 --- a/module/plugins/internal/Addon.py +++ b/module/plugins/internal/Addon.py @@ -66,7 +66,7 @@ class Addon(Plugin): #@TODO: Remove in 0.4.10 def _log(self, level, plugintype, pluginname, messages): - plugintype = "addon" if plugintype is "hook" else plugintype + plugintype = "addon" if plugintype == "hook" else plugintype return super(Addon, self)._log(level, plugintype, pluginname, messages) |