cc-4105: added handling for pyinotify events and create more logical events

This commit is contained in:
Rudi Grinberg 2012-07-30 16:50:48 -04:00
parent 688d22e995
commit ba03447946
10 changed files with 68 additions and 9 deletions

View file

@ -67,7 +67,7 @@ class AirtimeProcessEvent(ProcessEvent):
res = self.api_client.remove_watched_dir(path)
if(res is None):
self.logger.info("Unable to connect to the Airtime server.")
# sucess
# success
if(res['msg']['code'] == 0):
self.logger.info("%s removed from watch folder list successfully.", path)
else: