From b1e7877bf81f061ac77524f490e85c102a84f457 Mon Sep 17 00:00:00 2001 From: Isaak Buslovich Date: Mon, 20 Nov 2023 20:06:55 +0100 Subject: [PATCH] Fix --- text.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/text.py b/text.py index 4e20a6f..8483c46 100644 --- a/text.py +++ b/text.py @@ -24,4 +24,7 @@ class SimpleCLITool(App): # Dock the TabbedContent into the app's view await self.view.dock(tabbed_content) -SimpleCLITool.run() +# Create an instance of the app and run it +if __name__ == "__main__": + app = SimpleCLITool() + app.run()