Typo on modules/set.py; 'events.call' -> 'events.on'

This commit is contained in:
jesopo 2018-10-16 23:13:19 +01:00
parent b467220400
commit 95e98563d5

View file

@ -15,7 +15,7 @@ class Module(ModuleManager.BaseModule):
if not value == None: if not value == None:
target.set_setting(setting, value) target.set_setting(setting, value)
self.events.call("set").on(category).on(setting).call( self.events.on("set").on(category).on(setting).call(
value=value, target=target) value=value, target=target)
event["stdout"].write("Saved setting") event["stdout"].write("Saved setting")