Skip to content

Commit 51e7176

Browse files
committed
Fix bug which prevented multiple history commands from being run
1 parent 01596cb commit 51e7176

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1741,7 +1741,7 @@ def do_history(self, args):
17411741
for runme in history:
17421742
self.pfeedback(runme)
17431743
if runme:
1744-
return self.onecmd_plus_hooks(runme)
1744+
self.onecmd_plus_hooks(runme)
17451745
elif args.edit:
17461746
fd, fname = tempfile.mkstemp(suffix='.txt', text=True)
17471747
with os.fdopen(fd, 'w') as fobj:

0 commit comments

Comments
 (0)