From b51cd43b733b5dc206682b493578476653db4168 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 7 Feb 2021 11:21:43 +0800 Subject: [PATCH] bugfix --- kivyblocks/register.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kivyblocks/register.py b/kivyblocks/register.py index 834c179..f6cef3e 100644 --- a/kivyblocks/register.py +++ b/kivyblocks/register.py @@ -27,12 +27,12 @@ from .markdown import Markdown from .custom_camera import CustomCamera, QrReader if kivy.platform in ['win','linux', 'macosx']: from .camerawithmic import ScreenWithMic - from .camerawithmic import CameraWithMic +from .camerawithmic import CameraWithMic r = Factory.register if kivy.platform in ['win','linux', 'macosx']: r('ScreenWithMic', ScreenWithMic) - r('CameraWithMic', CameraWithMic) +r('CameraWithMic', CameraWithMic) r('CustomCamera', CustomCamera) r('QrReader', QrReader) r('Markdown', Markdown)