Commits

Jony Kalavera  committed e29e961 Draft

fix encoding

  • Participants
  • Parent commits 2faae51

Comments (0)

Files changed (1)

File chronograph/models.py

         self.save()
 
         # If we got any output, save it to the log
-        stdout_str += stdout.getvalue()
-        stderr_str += stderr.getvalue()
+        stdout_str += stdout.getvalue().encode('utf-8')
+        stderr_str += stderr.getvalue().encode('utf-8')
         
         if stderr_str:
             # If anything was printed to stderr, consider the run