From d5c9ab52c90f452f4558a5f1826af3e44bac7e6e Mon Sep 17 00:00:00 2001
From: Andrew Waterhouse <andrew.waterhouse@unibas.ch>
Date: Tue, 7 Jan 2020 16:13:56 +0100
Subject: [PATCH] keep this as bytes Wrote abstract state sequence to

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

diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py
index 85dc65255..5567dd229 100644
--- a/modules/bindings/pymod/hhblits.py
+++ b/modules/bindings/pymod/hhblits.py
@@ -667,8 +667,7 @@ class HHblits:
         job = subprocess.Popen(cs_cmd, shell=True, cwd=self.working_dir,
                                stdout=subprocess.PIPE, stderr=subprocess.PIPE)
         sout, _ = job.communicate()
-        sout = sout.decode()
-        if 'Wrote abstract state sequence to' in sout:
+        if b'Wrote abstract state sequence to' in sout:
             return cs_file
 
         ost.LogWarning('Creating column state sequence file (%s) failed' % \
-- 
GitLab