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