Fixed typo. Made supported_file_formats static because they should be same for all instances

This commit is contained in:
Rudi Grinberg 2012-07-05 14:06:26 -04:00
parent 2317a3eba8
commit 3dfb35d2d1
2 changed files with 2 additions and 2 deletions

View file

@ -16,9 +16,9 @@ import pyinotify
class MediaMonitorCommon:
timestamp_file = "/var/tmp/airtime/media-monitor/last_index"
supported_file_formats = ['mp3', 'ogg']
def __init__(self, airtime_config, wm=None):
self.supported_file_formats = ['mp3', 'ogg']
self.logger = logging.getLogger()
self.config = airtime_config
self.md_manager = AirtimeMetadata()