From 8cae1820bf76d790c4ee8992d7f7397a0357daec Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Wed, 16 Jul 2014 10:53:48 -0500 Subject: [PATCH] fix recorder module --- kivy/modules/recorder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kivy/modules/recorder.py b/kivy/modules/recorder.py index 731c3c4aa..c8c25abb0 100644 --- a/kivy/modules/recorder.py +++ b/kivy/modules/recorder.py @@ -37,7 +37,8 @@ For normal module usage, please see the :mod:`~kivy.modules` documentation. ''' -from kivy.input.recorder import Recorder +__all__ = ('start', 'stop') + from kivy.logger import Logger from functools import partial @@ -86,6 +87,7 @@ def start(win, ctx): if value is not None: keys['filename'] = value + from kivy.input.recorder import Recorder ctx.recorder = Recorder(window=win, **keys) win.bind(on_key_down=partial(on_recorder_key, ctx.recorder))