diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-x | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index b4c1dbf6..7b01a653 100755 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2198,7 +2198,7 @@ class Cmd(cmd.Cmd): # terminator newline = '\n' self.poutput(newline) - line = '{}\n{}\n'.format(statement.raw, newline) + line = '{}\n{}'.format(statement.raw, newline) except KeyboardInterrupt: self.poutput('^C') statement = self.command_parser.parseString('') @@ -2212,7 +2212,7 @@ class Cmd(cmd.Cmd): # terminator newline = '\n' self.poutput(newline) - line = '{}\n{}\n'.format(statement.raw, newline) + line = '{}\n{}'.format(statement.raw, newline) statement = self.command_parser.parseString(line) if not statement.command: |