From fb723c23586449ec2423edded8eff4a2db700dba Mon Sep 17 00:00:00 2001 From: Vardhaman <83634399+cyai@users.noreply.github.com> Date: Tue, 7 Jun 2022 09:38:48 +0530 Subject: [PATCH] Update README-zh-TW.md --- README-zh-TW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-zh-TW.md b/README-zh-TW.md index d805e7e0..1b7b84d5 100644 --- a/README-zh-TW.md +++ b/README-zh-TW.md @@ -1173,7 +1173,7 @@ def get_user(self, user_id): if user is None: user = db.query("SELECT * FROM users WHERE user_id = {0}", user_id) if user is not None: - key = "user.{0}".format(user_id) + key = f"user.{user_id}" cache.set(key, json.dumps(user)) return user ```