Skip to content

Commit 5c3d057

Browse files
author
Todd Leonhardt
committed
Minor cleanup
1 parent 6da6801 commit 5c3d057

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ def onecmd_plus_hooks(cmd_plus_args):
15541554
interp = InteractiveConsole(locals=localvars)
15551555
interp.runcode('import sys, os;sys.path.insert(0, os.getcwd())')
15561556

1557-
if arg.strip():
1557+
if arg:
15581558
interp.runcode(arg)
15591559
else:
15601560
# noinspection PyShadowingBuiltins

0 commit comments

Comments
 (0)