summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-01-16 21:56:06 -0700
committerkotfu <kotfu@kotfu.net>2018-01-16 21:56:06 -0700
commit51e7176ead22d7ad898fa7f6e2de246df43f04e0 (patch)
tree5b71372a18af2d17b79ae28fa18487608940997f
parent01596cbffa15ec0ef0cfa7e2fc5dabd39a3882fd (diff)
downloadcmd2-git-51e7176ead22d7ad898fa7f6e2de246df43f04e0.tar.gz
Fix bug which prevented multiple history commands from being run
-rwxr-xr-xcmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2.py b/cmd2.py
index 7a5a4a1a..249ef2bb 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -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: