From 5a59e443d7cc34b4b3143e2c8bf88677a98a3029 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Thu, 28 Sep 2023 14:43:08 +0800 Subject: [PATCH] fix --- app/utils/web.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils/web.py b/app/utils/web.py index 4116cf96..1a22ffa5 100644 --- a/app/utils/web.py +++ b/app/utils/web.py @@ -36,7 +36,8 @@ class WebUtils: if r: return r.json().get("data", {}).get("location") or '' except Exception as err: - return str(err) + print(str(err)) + return "" @staticmethod def get_bing_wallpaper() -> Optional[str]: