diff options
author | kotfu <kotfu@kotfu.net> | 2018-01-16 21:56:06 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-01-16 21:56:06 -0700 |
commit | 51e7176ead22d7ad898fa7f6e2de246df43f04e0 (patch) | |
tree | 5b71372a18af2d17b79ae28fa18487608940997f | |
parent | 01596cbffa15ec0ef0cfa7e2fc5dabd39a3882fd (diff) | |
download | cmd2-git-51e7176ead22d7ad898fa7f6e2de246df43f04e0.tar.gz |
Fix bug which prevented multiple history commands from being run
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1741,7 +1741,7 @@ a..b, a:b, a:, ..b items by indices (inclusive) for runme in history: self.pfeedback(runme) if runme: - return self.onecmd_plus_hooks(runme) + self.onecmd_plus_hooks(runme) elif args.edit: fd, fname = tempfile.mkstemp(suffix='.txt', text=True) with os.fdopen(fd, 'w') as fobj: |