Fix pynecone json (#894)

This commit is contained in:
Nikhil Rao 2023-04-27 11:43:50 -07:00 committed by GitHub
parent 23a23d437c
commit 5674d9a7a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -207,10 +207,8 @@ def initialize_web_directory():
path_ops.cp(constants.WEB_TEMPLATE_DIR, constants.WEB_DIR)
# Write the current version of distributed pynecone package to a PCVERSION_APP_FILE."""
with open(constants.PCVERSION_APP_FILE) as f: # type: ignore
pynecone_json = json.load(f)
pynecone_json["version"] = constants.VERSION
with open(constants.PCVERSION_APP_FILE, "w") as f:
pynecone_json = {"version": constants.VERSION}
json.dump(pynecone_json, f, ensure_ascii=False)

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pynecone"
version = "0.1.26"
version = "0.1.27"
description = "Web apps in pure Python."
license = "Apache-2.0"
authors = [