From e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331 Mon Sep 17 00:00:00 2001 From: H Lohaus Date: Fri, 5 Apr 2024 14:20:28 +0200 Subject: Aktualisieren von api.py --- g4f/gui/server/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f/gui/server') diff --git a/g4f/gui/server/api.py b/g4f/gui/server/api.py index b4e2b3d4..747d0c21 100644 --- a/g4f/gui/server/api.py +++ b/g4f/gui/server/api.py @@ -29,7 +29,7 @@ try: _RequestPermissionsManager.register_callback() from .android_gallery import user_select_image has_android = True -except ImportError: +except: run_on_ui_thread = lambda a : a has_android = False -- cgit v1.2.3