diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py
index 23d267518070ae697ebb1d91e9e53b19e1172fb1..85dc6525595f3920d1e538e124d394317072f390 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