diff options
Diffstat (limited to 'quick_lineup.py')
-rw-r--r-- | quick_lineup.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/quick_lineup.py b/quick_lineup.py new file mode 100644 index 0000000..c63aad1 --- /dev/null +++ b/quick_lineup.py @@ -0,0 +1,16 @@ +import sys +from ql.console import Console + + +if len(sys.argv) < 3 or len(sys.argv) > 4: + print('Give correct parameters: round, segment and (optionally) table') + sys.exit(1) + +round = int(sys.argv[1]) +segment = int(sys.argv[2]) +if len(sys.argv) == 4: + table = int(sys.argv[3]) +else: + table = None + +Console(round, segment, table).run() |