Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug fix in oggpatch: use output_file, not sys.argv[1].

  • Loading branch information...
commit 067c84d599cfa7b1100aab2e441dfa8e9f76b472 1 parent 2acc66b
@Vultaire authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  r21buddy/oggpatch.py
View
2  r21buddy/oggpatch.py
@@ -473,7 +473,7 @@ def patch_file(input_file, target_length=TARGET_LENGTH,
output_file = output_file
if verbose:
print "Writing patched file to", output_file
- with open(sys.argv[1], "wb") as outfile:
+ with open(output_file, "wb") as outfile:
for bitstream in bitstreams:
bitstream.write_to_file(outfile)
elif verbose:
Please sign in to comment.
Something went wrong with that request. Please try again.