Skip to content

Commit

Permalink
another py3 compatibility fix
Browse files Browse the repository at this point in the history
  • Loading branch information
easyw authored and yorikvanhavre committed Dec 8, 2018
1 parent bb226d1 commit 2cbf323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/femsolver/elmer/tasks.py
Expand Up @@ -110,13 +110,13 @@ def run(self):
self.fail()

def _observeSolver(self, process):
output = ""
output = b""
line = process.stdout.readline()
self.pushStatus(line)
output += line
line = process.stdout.readline()
while line:
line = "\n%s" % line.rstrip()
line = b"\n%s" % line.rstrip()
self.pushStatus(line)
output += line
line = process.stdout.readline()
Expand Down

0 comments on commit 2cbf323

Please sign in to comment.