From 53fd0a57eefadeae76d1e00fa649eae76bfd6936 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Thu, 25 Mar 2010 15:55:01 -0400 Subject: [PATCH] add quotes around attribute name --- deluge/plugins/pluginbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/pluginbase.py b/deluge/plugins/pluginbase.py index 3b4158b33..bc33f46ea 100644 --- a/deluge/plugins/pluginbase.py +++ b/deluge/plugins/pluginbase.py @@ -38,7 +38,7 @@ from deluge.log import LOG as log class PluginBase(component.Component): def __init__(self, name): - interval = self.update_interval if hasattr(self, update_interval) else 1 + interval = self.update_interval if hasattr(self, 'update_interval') else 1 super(PluginBase, self).__init__(name, interval) def enable(self):