From 98db871882836443b122b4352d70eb1f130b11d8 Mon Sep 17 00:00:00 2001 From: Yuman Hordijk Date: Sun, 6 Oct 2024 17:12:50 +0200 Subject: [PATCH] [#314] Fixed a typo that was causing an issue WINDOWS instead of Windows --- src/tcutility/job/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcutility/job/generic.py b/src/tcutility/job/generic.py index ac80b0ca..16e6b9f8 100644 --- a/src/tcutility/job/generic.py +++ b/src/tcutility/job/generic.py @@ -204,7 +204,7 @@ def run(self): else: os_name = get_os_name() - if os_name == OSName.Windows: + if os_name == OSName.WINDOWS: raise TCJobError("Generic Job", "Running jobs on Windows is not supported.") # if we are not using slurm, we can execute the file. For this we need special permissions, so we have to set that first.