From 21ce22fb7bb7f3b2148e296c3d88a43e1b5051c3 Mon Sep 17 00:00:00 2001 From: Thomas Adamcik Date: Wed, 15 Jan 2014 22:48:46 +0100 Subject: [PATCH] docs: Add config to frontend and backend examples. --- docs/extensiondev.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index 8f66faf6..f24f02aa 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -348,7 +348,7 @@ passed a reference to the core API when it's created. See the class SoundspotFrontend(pykka.ThreadingActor, core.CoreListener): - def __init__(self, core): + def __init__(self, config, core): super(SoundspotFrontend, self).__init__() self.core = core @@ -374,7 +374,7 @@ details. class SoundspotBackend(pykka.ThreadingActor, backend.Backend): - def __init__(self, audio): + def __init__(self, config, audio): super(SoundspotBackend, self).__init__() self.audio = audio