From 75ed4bce3d3979471b68b6daaded3500743d31e1 Mon Sep 17 00:00:00 2001
From: anphi <anne.philipp@univie.ac.at>
Date: Tue, 18 Dec 2018 14:59:34 +0100
Subject: [PATCH] bugfix: request parameter is of type integer and has to be
 checked against integers

---
 python/submit.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/submit.py b/python/submit.py
index 0906a09..35e40b8 100755
--- a/python/submit.py
+++ b/python/submit.py
@@ -55,7 +55,7 @@ def main():
         if c.outputdir[0]!='/':
             c.outputdir=os.path.join(calledfromdir,c.outputdir)
         getMARSdata(args,c)
-	if c.request == '0' or c.request == '2':
+	if c.request == 0 or c.request == 2:
             prepareFLEXPART(args,c)
             normalexit(c)
         else:
-- 
GitLab