]> git.ipfire.org Git - thirdparty/starlette.git/commit
Avoid `TypeError` on `websocket.disconnect` when `code` is `None` (#1574)
authorMarcelo Trylesinski <marcelotryle@gmail.com>
Wed, 6 Apr 2022 07:01:07 +0000 (09:01 +0200)
committerGitHub <noreply@github.com>
Wed, 6 Apr 2022 07:01:07 +0000 (09:01 +0200)
commit487f05dfc641a0632be8bd405add6454cab4f6b0
treef73fdd662216e31133a863c5a093a4ef3a94a98d
parent20d24a86b877e21ed002abb1668e69002850f38b
Avoid `TypeError` on `websocket.disconnect` when `code` is `None` (#1574)

Co-authored-by: Aber <Chen_Ye@ahnu.edu.cn>
starlette/endpoints.py