From ed38848e4307b9c7fbc4a65a007a47403a3553f8 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Mon, 3 Oct 2016 16:27:19 +0200
Subject: [PATCH] prepost.dlctemplate: hostname jess is either jess or j-XXX

---
 wetb/prepost/dlctemplate.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wetb/prepost/dlctemplate.py b/wetb/prepost/dlctemplate.py
index 5331c891..a1621cd3 100755
--- a/wetb/prepost/dlctemplate.py
+++ b/wetb/prepost/dlctemplate.py
@@ -35,7 +35,7 @@ plt.rc('axes', labelsize=12)
 # on Gorm tex printing doesn't work
 if socket.gethostname()[:2] == 'g-':
     RUNMETHOD = 'gorm'
-elif socket.gethostname()[:4] == 'jess':
+elif socket.gethostname()[:1] == 'j':
     RUNMETHOD = 'jess'
 else:
     plt.rc('text', usetex=True)
-- 
GitLab