diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-06-26 21:53:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-26 21:53:53 -0700 |
commit | ea6561747106ebdb701b5c9dd7964a24bf273d66 (patch) | |
tree | 7c10f4feb5641e32d7947fd03e222f84d9d1713c | |
parent | 21ad2e38dde39e92c4583ab7fa2d31f8721a79d6 (diff) | |
parent | 000ae62afe8d0c112d358ddec90f84accca7699e (diff) | |
download | cmd2-git-ea6561747106ebdb701b5c9dd7964a24bf273d66.tar.gz |
Merge branch 'master' into argcomplete_example
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index dade920a..85439927 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -452,7 +452,7 @@ class Cmd(cmd.Cmd): if startup_script is not None: startup_script = os.path.expanduser(startup_script) if os.path.exists(startup_script) and os.path.getsize(startup_script) > 0: - self.cmdqueue.append('load {}'.format(startup_script)) + self.cmdqueue.append("load '{}'".format(startup_script)) ############################################################################################################ # The following variables are used by tab-completion functions. They are reset each time complete() is run |