Commit cb1cc42c authored by Bram Schoenmakers's avatar Bram Schoenmakers

Merge pull request #65 from mruwek/fix-prompt-help

Fix help in prompt mode
parents bd24c1df d61e19c9
...@@ -103,7 +103,7 @@ class PromptApplication(CLIApplicationBase): ...@@ -103,7 +103,7 @@ class PromptApplication(CLIApplicationBase):
# refuse to perform operations such as 'del' and 'do' if the # refuse to perform operations such as 'del' and 'do' if the
# todo.txt file has been changed in the background. # todo.txt file has been changed in the background.
if not self.is_read_only(subcommand) and self.mtime != mtime_after: if subcommand and not self.is_read_only(subcommand) and self.mtime != mtime_after:
error("WARNING: todo.txt file was modified by another application.\nTo prevent unintended changes, this operation was not executed.") error("WARNING: todo.txt file was modified by another application.\nTo prevent unintended changes, this operation was not executed.")
continue continue
......
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