Quellcode durchsuchen

Fix pc run backend only (#118)

Nikhil Rao vor 2 Jahren
Ursprung
Commit
2496c3fb9f
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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.
         Exit: If the app is not initialized.
     """
     """
     # Check that the app is initialized.
     # Check that the app is initialized.
-    if not utils.is_initialized():
+    if frontend and not utils.is_initialized():
         utils.console.print(
         utils.console.print(
             "[red]The app is not initialized. Run [bold]pc init[/bold] first."
             "[red]The app is not initialized. Run [bold]pc init[/bold] first."
         )
         )

+ 1 - 1
pyproject.toml

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