From 3e2c0ba84314c33dd4a64e2463105f64c51766ae Mon Sep 17 00:00:00 2001 From: bvn13 Date: Sat, 29 Jun 2024 00:32:42 +0300 Subject: [PATCH] update --- src/main.py | 2 +- version | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.py b/src/main.py index 228598b..4907187 100644 --- a/src/main.py +++ b/src/main.py @@ -166,7 +166,7 @@ class CreateTaskResource: if section_found and is_waiting_empty_line == True and line.strip() == '': content.append("- [ ] {0}\n".format(text)) is_waiting_empty_line = False - with open(self.__todo_path, 'w', encoding='utf-8') as file: + with open(file_path, 'w', encoding='utf-8') as file: file.writelines(content) ######################################################################################################## diff --git a/version b/version index d5e98f7..785cda8 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.3.2 \ No newline at end of file +1.3.3 \ No newline at end of file