Jason R. Coombs committed 93a7647

Use the correct mode that doesn't cause characters to be inserted

  • Participants
  • Parent commits 66e82c4
  • Tags 1.3

Comments (0)

Files changed (1)

File jaraco/financial/

 		print("Backup already exists", file=sys.stderr)
 		raise SystemExit(1)
-	# open the file for read/write
-	with'a+b') as file:
+	# open the file for read and update (binary)
+	with'r+b') as file:
 		data =
 		assert ord(data[0xE8-0xE8]) == 0x85