cc-2882: Airtime cannot delete watched folder when is been renamed

- initial commit
This commit is contained in:
James 2011-09-27 14:49:03 -04:00
parent e1fe877ac6
commit b1fa8901ca
7 changed files with 104 additions and 6 deletions

View file

@ -60,7 +60,7 @@ try:
wm = WatchManager()
mmc = MediaMonitorCommon(config)
pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm, mmc=mmc)
pe = AirtimeProcessEvent(queue=multi_queue, airtime_config=config, wm=wm, mmc=mmc, api_client=api_client)
bootstrap = AirtimeMediaMonitorBootstrap(logger, pe, api_client, mmc)
bootstrap.scan()
@ -90,4 +90,7 @@ except KeyboardInterrupt:
notifier.stop()
logger.info("Keyboard Interrupt")
except Exception, e:
import traceback
top = traceback.format_exc()
logger.error('Exception: %s', e)
logger.error("traceback: %s", top)