cc-4105: fixed little typo that caused a bug
This commit is contained in:
parent
076a9c2296
commit
3ce2555a35
2 changed files with 5 additions and 4 deletions
|
@ -9,7 +9,7 @@ class EventContractor(Loggable):
|
||||||
return evt.path in self.store
|
return evt.path in self.store
|
||||||
|
|
||||||
def get_old_event(self, evt):
|
def get_old_event(self, evt):
|
||||||
return evt.store[ evt.path ]
|
return self.store[ evt.path ]
|
||||||
|
|
||||||
def register(self, evt):
|
def register(self, evt):
|
||||||
if self.event_registered(evt):
|
if self.event_registered(evt):
|
||||||
|
|
|
@ -107,6 +107,7 @@ Options:
|
||||||
--log=<path> log at <path>
|
--log=<path> log at <path>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
#original debugging paths
|
||||||
#base_path = u'/home/rudi/Airtime/python_apps/media-monitor2/tests'
|
#base_path = u'/home/rudi/Airtime/python_apps/media-monitor2/tests'
|
||||||
#global_config = os.path.join(base_path, u'live_client.cfg')
|
#global_config = os.path.join(base_path, u'live_client.cfg')
|
||||||
#api_client_config = global_config
|
#api_client_config = global_config
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue