diff options
author | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-13 13:47:18 -0400 |
---|---|---|
committer | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-13 13:47:18 -0400 |
commit | 5c3d057d188431428584a0649c22f6cc0bf228d7 (patch) | |
tree | b97af8f12060ea4a0dbadb8dc00e5f1def465657 /cmd2.py | |
parent | 6da68012eeff7ad47f8444a892955e44ab248c57 (diff) | |
download | cmd2-git-5c3d057d188431428584a0649c22f6cc0bf228d7.tar.gz |
Minor cleanup
Diffstat (limited to 'cmd2.py')
-rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1554,7 +1554,7 @@ class Cmd(cmd.Cmd): interp = InteractiveConsole(locals=localvars) interp.runcode('import sys, os;sys.path.insert(0, os.getcwd())') - if arg.strip(): + if arg: interp.runcode(arg) else: # noinspection PyShadowingBuiltins |