From 11d979fc9351cd498f24ee43d5b8d3f2f611f053 Mon Sep 17 00:00:00 2001
From: Andrew Waterhouse <andrew.waterhouse@unibas.ch>
Date: Mon, 30 Dec 2019 10:37:23 +0100
Subject: [PATCH] decode subprocess sout

---
 modules/bindings/pymod/hhblits.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py
index 23d267518..85dc65255 100644
--- a/modules/bindings/pymod/hhblits.py
+++ b/modules/bindings/pymod/hhblits.py
@@ -667,7 +667,7 @@ class HHblits:
         job = subprocess.Popen(cs_cmd, shell=True, cwd=self.working_dir,
                                stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         sout, _ = job.communicate()
-        lines = sout.decode()
+        sout = sout.decode()
         if 'Wrote abstract state sequence to' in sout:
             return cs_file
 
-- 
GitLab