CC-1799 Put Airtime Storage into a Human Readable File Naming Convention

This commit is contained in:
Naomi Aro 2011-06-15 16:49:05 +02:00
parent b4b12449ff
commit 6dc3d4d29a
1 changed files with 1 additions and 8 deletions

View File

@ -108,7 +108,7 @@ class AirtimeNotifier(Notifier):
airtime_file.save()
except Exception, e:
self.logger.error('Trying to save md')
self.logger.error('Exception: %s', e.value)
self.logger.error('Exception: %s', e)
self.logger.error('Filepath %s', m['MDATA_KEY_FILEPATH'])
class MediaMonitor(ProcessEvent):
@ -145,13 +145,6 @@ class MediaMonitor(ProcessEvent):
self.moved_files = {}
self.file_events = deque()
#self.mask = pyinotify.IN_CREATE | \
#pyinotify.IN_MODIFY | \
#pyinotify.IN_MOVED_FROM | \
#pyinotify.IN_MOVED_TO | \
#pyinotify.IN_DELETE | \
#pyinotify.IN_DELETE_SELF
self.mask = pyinotify.ALL_EVENTS
self.wm = WatchManager()