From 6f804fcb417f8758c575b3a7b84503b6f9d59a7f Mon Sep 17 00:00:00 2001 From: chrys Date: Mon, 11 Jun 2018 23:25:19 +0200 Subject: [PATCH] wire up import from x --- .../commands/commands/import_clipboard_from_x.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/commands/commands/import_clipboard_from_x.py b/src/fenrirscreenreader/commands/commands/import_clipboard_from_x.py index 464700a2..5c27254e 100644 --- a/src/fenrirscreenreader/commands/commands/import_clipboard_from_x.py +++ b/src/fenrirscreenreader/commands/commands/import_clipboard_from_x.py @@ -18,7 +18,7 @@ class command(): def shutdown(self): pass def getDescription(self): - return _('imports the current X clipboard to Fenrir's clipboard') + return _("imports the current X clipboard to Fenrir's clipboard") def run(self): _thread.start_new_thread(self._threadRun , ()) @@ -39,7 +39,7 @@ class command(): else: self.env['runtime']['memoryManager'].addValueToFirstIndex('clipboardHistory', xClipboard) self.env['runtime']['outputManager'].presentText('Import to Clipboard', soundIcon='CopyToClipboard', interrupt=True) - self.env['runtime']['outputManager'].presentText(imported, soundIcon='', interrupt=False) + self.env['runtime']['outputManager'].presentText(xClipboard, soundIcon='', interrupt=False) except Exception as e: self.env['runtime']['outputManager'].presentText(e , soundIcon='', interrupt=False)