We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eef90c commit febe5faCopy full SHA for febe5fa
tools/config_editor/app.py
@@ -37,7 +37,7 @@
37
from textual.widgets import Button, Header, Label
38
except ImportError:
39
print("Please install the \"textual-dev\" package before running this script.")
40
- quit(1)
+ exit(1)
41
42
from settings import SettingsScreen
43
from editor import EditorScreen
@@ -133,7 +133,7 @@ def main() -> None:
133
# Check Python version
134
if sys.version_info < (3, 9):
135
print("This script requires Python 3.9 or later")
136
137
138
app = ConfigEditorApp()
139
@@ -210,7 +210,7 @@ def main() -> None:
210
app.run()
211
212
# Propagate the exit code from the app
213
- sys.exit(app.return_code or 0)
+ exit(app.return_code or 0)
214
215
if __name__ == "__main__":
216
# If this script is run directly, start the app
0 commit comments