CC-2272: Ability to change storage directory location

-done
This commit is contained in:
martin 2011-07-06 14:42:43 -04:00
parent eaba145d6d
commit 67df619c90
6 changed files with 31 additions and 18 deletions

View file

@ -2,19 +2,15 @@ import os
import time
from subprocess import Popen, PIPE
from api_clients import api_client
class AirtimeMediaMonitorBootstrap():
def __init__(self, logger, multi_queue, pe, config):
def __init__(self, logger, multi_queue, pe, api_client):
self.logger = logger
self.multi_queue = multi_queue
self.pe = pe
self.airtime_tmp = '/var/tmp/airtime'
self.config = config
self.api_client = api_client.api_client_factory(self.config.cfg)
self.api_client = api_client
"""
on bootup we want to scan all directories and look for files that