mirror of https://gitlab.com/bashrc2/epicyon
Write only
parent
c3caaeea81
commit
fb594afe77
2
data.py
2
data.py
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue