Skip to content

Commit 70a20b4

Browse files
committed
fix: python await
1 parent 4d23a0a commit 70a20b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/attach/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ load_dotenv()
5252

5353
async def main():
5454
async with await sa.login_by_id(os.environ["SA_ID"]) as sess:
55-
sess.update()
55+
await sess.update()
5656
print(repr(sess))
5757

5858
if __name__ == "__main__":

0 commit comments

Comments
 (0)