Write only

main
bashrc 2026-05-06 19:29:17 +01:00
parent c3caaeea81
commit fb594afe77
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def save_binary(text: str, filename: str, exception_text: str) -> bool:
"""Saves a binary to file """Saves a binary to file
""" """
try: try:
with open(filename, 'wb+') as fp: with open(filename, 'wb') as fp:
fp.write(text) fp.write(text)
return True return True
except OSError as exc: except OSError as exc: