diff options
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 3f55bcf2..a04aecef 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -314,8 +314,8 @@ class PythonShellCommand(Command): class RepeatCommand(Command): """Repeats the command executed last time""" def apply(self, ui): - if ui.last_command != None: - ui.apply_command(ui.last_command) + if ui.last_commandline is not None: + ui.apply_commandline(ui.last_commandline) else: ui.notify('no last command') |