mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Spacing fixed.
This commit is contained in:
parent
6705e87160
commit
1eed8f34d9
2 changed files with 4 additions and 4 deletions
|
@ -848,7 +848,7 @@ class DelugeGTK:
|
|||
|
||||
# Handle the events
|
||||
try:
|
||||
events=self.manager.handle_events()
|
||||
events = self.manager.handle_events()
|
||||
except core.SystemError, e:
|
||||
print "SystemError", e
|
||||
dialogs.show_popup_warning(self.window, _("You cannot move torrent to a different partition. Please fix your preferences"))
|
||||
|
|
|
@ -93,14 +93,14 @@ class PluginManager:
|
|||
def configure_plugin(self, name):
|
||||
self.enabled_plugins[name].configure()
|
||||
|
||||
def update_active_plugins(self,events):
|
||||
def update_active_plugins(self, events):
|
||||
for name in self.enabled_plugins.keys():
|
||||
plugin = self.enabled_plugins[name]
|
||||
if 'update' in dir(plugin):
|
||||
plugin.update()
|
||||
#having two methods for not breaking compatibility
|
||||
|
||||
if 'notify' in dir(plugin):
|
||||
plugin.notify(events)
|
||||
plugin.notify(events)
|
||||
|
||||
def shutdown_all_plugins(self):
|
||||
for name in self.enabled_plugins.keys():
|
||||
|
|
Loading…
Add table
Reference in a new issue