refactored file mediator to play nice with saas
This commit is contained in:
parent
8696571b02
commit
ebca3fa9f5
3 changed files with 20 additions and 23 deletions
|
@ -5,6 +5,7 @@ from media.monitor.exceptions import NoConfigFile
|
|||
from media.monitor.pure import LazyProperty
|
||||
from media.monitor.config import MMConfig
|
||||
from media.monitor.owners import Owner
|
||||
from media.monitor.listeners import FileMediator
|
||||
from api_clients.api_client import AirtimeApiClient
|
||||
|
||||
# poor man's phantom types...
|
||||
|
@ -51,3 +52,7 @@ class AirtimeInstance(object):
|
|||
@LazyProperty
|
||||
def owner(self):
|
||||
return Owner()
|
||||
@LazyProperty
|
||||
def file_mediator(self):
|
||||
return FileMediator()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue