Skip to content
Snippets Groups Projects
Commit 2d9c942c authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Fix pylint consider-using-f-string

parent 5a495b1e
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ def request_account(json, methods=["GET", "POST"]):
+ str(json)
)
room = str(session["uid"])
print("Room: {}".format(room))
print(f"Room: {room}")
try:
tasks.celery_create_account.delay(json, session=room)
except Exception as e:
......@@ -63,7 +63,7 @@ def certify_account(json, methods=["GET", "POST"]):
+ str(json)
)
room = str(session["uid"])
print("CERTIFY Room: {}".format(room))
print(f"CERTIFY Room: {room}")
try:
tasks.celery_certify_account(json, session=room)
except Exception as e:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment