diff options
Diffstat (limited to 'pyload/manager/Addon.py')
-rw-r--r-- | pyload/manager/Addon.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/manager/Addon.py b/pyload/manager/Addon.py index 5ac56a349..2a3bc4318 100644 --- a/pyload/manager/Addon.py +++ b/pyload/manager/Addon.py @@ -89,7 +89,7 @@ class AddonManager(object): def callRPC(self, plugin, func, args, parse): if not args: - args = tuple() + args = () if parse: args = tuple([literal_eval(x) for x in args]) plugin = self.pluginMap[plugin] @@ -169,7 +169,7 @@ class AddonManager(object): addon.deactivate() - #remove periodic call + # remove periodic call self.core.log.debug("Removed callback: %s" % self.core.scheduler.removeJob(addon.cb)) self.plugins.remove(addon) |