From ae9f9440942577d15a9092537bc746f8ee2b0b3d Mon Sep 17 00:00:00 2001 From: CGarz <20268068+cgarz@users.noreply.github.com> Date: Fri, 11 Jan 2019 23:41:54 +0000 Subject: [PATCH] forced cuesheet line endings to windows crlf to match redump --- binmerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binmerge b/binmerge index 17f8c97..0c91fec 100755 --- a/binmerge +++ b/binmerge @@ -184,7 +184,7 @@ def main(): print("Output dir does not exist") return False - with open(os.path.join(outdir, args.new_name+'.cue'), 'w') as f: + with open(os.path.join(outdir, args.new_name+'.cue'), 'w', newline='\r\n') as f: f.write(cuesheet) print("Wrote %s" % args.new_name+'.cue')