From 303d0f2dfe9c375223677fa978abdae3bf573e49 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 9 Jul 2023 17:16:50 +0200 Subject: [PATCH] . --- slate/slate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slate/slate.py b/slate/slate.py index 5bf5463..b814fcb 100644 --- a/slate/slate.py +++ b/slate/slate.py @@ -278,10 +278,10 @@ class Slate(): parser.add_argument("-w", "--worker", action="store_true") parser.add_argument("-j", "--job_id", default=None, type=int) - print('I have job_id ', args.job_id) - args = parser.parse_args() + print('I have job_id ', args.job_id) + if args.worker: raise Exception('Not yet implemented')