summaryrefslogtreecommitdiff
path: root/ql/console.py
diff options
context:
space:
mode:
authorMichaƂ Zimniewicz <michzimny@users.noreply.github.com>2017-03-01 12:33:04 +0100
committerGitHub <noreply@github.com>2017-03-01 12:33:04 +0100
commit3d73e12dca0802392d020095bf58ea1d1330b899 (patch)
tree66bc18806de28fc4fd29a01b61923bcfe609805d /ql/console.py
parent973d1cd652c8840a8e7c408182cfa79fb7183455 (diff)
parent5e0200ccaa7df050f1b78c8af7857ac292cbbbb5 (diff)
Merge pull request #9 from michzimny/pyinstaller0.1
Pyinstaller configuration + successfully compiled binary
Diffstat (limited to 'ql/console.py')
-rwxr-xr-xql/console.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ql/console.py b/ql/console.py
index 6751b83..f797da7 100755
--- a/ql/console.py
+++ b/ql/console.py
@@ -16,7 +16,10 @@ class Console(object):
def run(self):
for table in self.tables:
- self.process_table(table)
+ try:
+ self.process_table(table)
+ except (EOFError, KeyboardInterrupt):
+ break
def process_table(self, table):
lineup = self.get_lineup(table)