From bfbf3c6177aef1aa8764be64dda1c56783e83445 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 6 Feb 2021 20:46:45 +0800 Subject: [PATCH] bugfix --- kivyblocks/register.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kivyblocks/register.py b/kivyblocks/register.py index d074a21..6b39744 100644 --- a/kivyblocks/register.py +++ b/kivyblocks/register.py @@ -26,13 +26,13 @@ from .pagepanel import PagePanel from .markdown import Markdown from .custom_camera import CustomCamera, QrReader from .camerawithmic import CameraWithMic -if kivy.platform in ['win','linux', 'macosx']: - from .camerawithmic import ScreenWithMic +#if kivy.platform in ['win','linux', 'macosx']: +# from .camerawithmic import ScreenWithMic 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)