diff --git a/alot/command.py b/alot/command.py
index <HASH>..<HASH> 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -842,7 +842,7 @@ class OpenAttachmentCommand(Command):
         handler = settings.get_mime_handler(mimetype)
         if handler:
             path = self.attachment.save(tempfile.gettempdir())
-            handler = handler.replace('%s', '{}')
+            handler = handler.replace('\'%s\'', '{}')
 
             def afterwards():
                 os.remove(path)
fix double quoting issue in OpenAttachment

default mailcaps are filled with "'%s'" as path template.
Using helper.shell_quote on a path like this quotes it again
and filenames with spaces woun't open properly