summaryrefslogtreecommitdiff
path: root/examples/table_display.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/table_display.py')
-rwxr-xr-xexamples/table_display.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/table_display.py b/examples/table_display.py
index 04415afd..dcde7a81 100755
--- a/examples/table_display.py
+++ b/examples/table_display.py
@@ -195,6 +195,7 @@ class TableDisplay(cmd2.Cmd):
if __name__ == '__main__':
+ import sys
app = TableDisplay()
app.debug = True
- app.cmdloop()
+ sys.exit(app.cmdloop())