add quotes around attribute name
This commit is contained in:
parent
017d1e058e
commit
53fd0a57ee
|
@ -38,7 +38,7 @@ from deluge.log import LOG as log
|
||||||
|
|
||||||
class PluginBase(component.Component):
|
class PluginBase(component.Component):
|
||||||
def __init__(self, name):
|
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)
|
super(PluginBase, self).__init__(name, interval)
|
||||||
|
|
||||||
def enable(self):
|
def enable(self):
|
||||||
|
|
Loading…
Reference in New Issue