mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-24 04:16:30 +08:00
Revert "Don't create file without encoding set"
This reverts commit 7d216f948a.
This commit is contained in:
parent
3d12b669e1
commit
fa28343084
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue