update
This commit is contained in:
parent
2609428392
commit
3e2c0ba843
@ -166,7 +166,7 @@ class CreateTaskResource:
|
|||||||
if section_found and is_waiting_empty_line == True and line.strip() == '':
|
if section_found and is_waiting_empty_line == True and line.strip() == '':
|
||||||
content.append("- [ ] {0}\n".format(text))
|
content.append("- [ ] {0}\n".format(text))
|
||||||
is_waiting_empty_line = False
|
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)
|
file.writelines(content)
|
||||||
|
|
||||||
########################################################################################################
|
########################################################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user