Skip to content

Commit 890c80d

Browse files
authored
Fix error when using web.run (#109)
* Fix error when using web.run * Bump version from 3.2.3 to 3.2.4
1 parent 17a3308 commit 890c80d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "replit"
3-
version = "3.2.3"
3+
version = "3.2.4"
44
description = "A library for interacting with features of repl.it"
55
authors = ["Repl.it <[email protected]>", "mat <[email protected]>", "kennethreitz <[email protected]>", "Scoder12 <[email protected]>", "AllAwesome497", ]
66
license = "ISC"

src/replit/web/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def run(
5959
) -> None:
6060
"""A simple wrapper around app.run() with replit compatible defaults."""
6161
# don't clobber user
62-
if change_encoder and flask.json_encoder is flask.json.JSONEncoder:
62+
if change_encoder and app.json_encoder is flask.json.JSONEncoder:
6363
app.json_encoder = DBJSONEncoder
6464
app.run(host=host, port=port, **kwargs)
6565

0 commit comments

Comments
 (0)