Browse files

Better error messages

  • Loading branch information...
1 parent 39ce9bf commit 29ce7f3a300904239840b31c89567a6927d5acb8 @cykl committed Mar 16, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 infoqscraper/convert.py
View
4 infoqscraper/convert.py
@@ -219,7 +219,7 @@ def _assemble(self, audio, frame_pattern):
msg = "Failed to create final movie as %s.\n" \
"\tCommand: %s\n" \
"\tExit code: %s\n" \
- "\tOutput:\n%s" % (" ".join(cmd), self.output, e.returncode, e.output)
+ "\tOutput:\n%s" % (self.output, " ".join(cmd), e.returncode, e.output)
if self.type != "legacy":
msg += "\n Please note that %s output format requires a recent version of ffmpeg and libx264." \
@@ -286,5 +286,5 @@ def swf2png(swf_path, png_path, swfrender_path="swfrender"):
"\tCommand: %s\n"
"\tExit status: %s.\n"
"\tOutput:\n%s"
- % (" ".join(cmd), swf_path, e.returncode, e.output))
+ % (swf_path, " ".join(cmd), e.returncode, e.output))

0 comments on commit 29ce7f3

Please sign in to comment.