From 5d3ef3fd8fc0129f875f7a28556960e804ff200b Mon Sep 17 00:00:00 2001 From: yuhldr Date: Sat, 7 Dec 2024 22:44:21 +0800 Subject: [PATCH] fix: py3.10 --- lfy/utils/check_update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lfy/utils/check_update.py b/lfy/utils/check_update.py index d718eb1..1a3052c 100644 --- a/lfy/utils/check_update.py +++ b/lfy/utils/check_update.py @@ -92,8 +92,8 @@ def main(): Returns: str: 更新信息或None """ - s = f"Please update. There is a problem with the current version configuration.\n\n{ - PACKAGE_URL}" + s = "Please update. There is a problem with the current version configuration.\n\n" + s += PACKAGE_URL try: data = get_by_github() if data is None or "version" not in data: