mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-03 23:23:27 +00:00
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):
|
||||
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user