summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-04-05 14:20:28 +0200
committerGitHub <noreply@github.com>2024-04-05 14:20:28 +0200
commite2c11d233a6ac8dbb0aa7860df962c0e9c6ac331 (patch)
tree392c091783aafab7b399eacfe83e670692dfb665
parentMerge pull request #1762 from hlohaus/goo (diff)
downloadgpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.gz
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.bz2
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.lz
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.xz
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.tar.zst
gpt4free-e2c11d233a6ac8dbb0aa7860df962c0e9c6ac331.zip
-rw-r--r--g4f/gui/server/api.py2
1 files changed, 1 insertions, 1 deletions
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