Commit e7be158c authored by Bram Schoenmakers's avatar Bram Schoenmakers

Move comment to the correct position

parent 35e55c30
......@@ -219,9 +219,9 @@ class CLIApplicationBase(object):
to the todo.txt file.
"""
if self.todolist.is_dirty():
# do not archive when the value of the filename is an empty string
# (i.e. explicitly left empty in the configuration
if self.todolist.is_dirty():
if self.do_archive and config().archive():
self._archive()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment