mirror of
https://github.com/netinvent/npbackup.git
synced 2024-09-20 14:56:14 +08:00
Revert "Don't create file without encoding set"
This reverts commit 7d216f948a
.
This commit is contained in:
parent
3d12b669e1
commit
fa28343084
|
@ -108,7 +108,7 @@ def create_scheduled_task(executable_path, interval_minutes: int):
|
|||
)
|
||||
# Create task file
|
||||
try:
|
||||
with open(TEMP_TASKFILE, "w", encoding='unicode_escape') as file_handle:
|
||||
with open(TEMP_TASKFILE, "w") as file_handle:
|
||||
file_handle.write(SCHEDULED_TASK_FILE_CONTENT)
|
||||
except OSError as exc:
|
||||
logger.error(
|
||||
|
|
Loading…
Reference in a new issue