Parcourir la source

Fix pc run backend only (#118)

Nikhil Rao il y a 2 ans
Parent
commit
2496c3fb9f
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      pynecone/pc.py
  2. 1 1
      pyproject.toml

+ 1 - 1
pynecone/pc.py

@@ -64,7 +64,7 @@ def run(
         Exit: If the app is not initialized.
     """
     # Check that the app is initialized.
-    if not utils.is_initialized():
+    if frontend and not utils.is_initialized():
         utils.console.print(
             "[red]The app is not initialized. Run [bold]pc init[/bold] first."
         )

+ 1 - 1
pyproject.toml

@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "pynecone-io"
-version = "0.1.9"
+version = "0.1.10"
 description = "The easiest way to build web apps."
 license = "Apache-2.0"
 authors = [