Module: deluge
Branch: master
Commit: 53fd0a57eefadeae76d1e00fa649eae76bfd6936

Author: Chase Sterling <[email protected]>
Date:   Thu Mar 25 15:55:01 2010 -0400

add quotes around attribute name

---

 deluge/plugins/pluginbase.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/plugins/pluginbase.py b/deluge/plugins/pluginbase.py
index 3b4158b..bc33f46 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):

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to