From 994700568ec811ac779a57f19baadfc456ef3b1b Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 12 Sep 2017 01:11:47 +0200 Subject: [PATCH] remove output --- src/fenrir/commands/commands/export_clipboard_to_x.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/fenrir/commands/commands/export_clipboard_to_x.py b/src/fenrir/commands/commands/export_clipboard_to_x.py index bf008926..51718d11 100644 --- a/src/fenrir/commands/commands/export_clipboard_to_x.py +++ b/src/fenrir/commands/commands/export_clipboard_to_x.py @@ -20,14 +20,11 @@ class command(): def getDescription(self): return _('export the current fenrir clipboard to X clipboard') def run(self): - print('drin') _thread.start_new_thread(self._threadRun , ()) def _threadRun(self): - print('jo') try: currClipboard = self.env['commandBuffer']['currClipboard'] - print(currClipboard) if currClipboard < 0: self.env['runtime']['outputManager'].presentText(_('clipboard empty'), interrupt=True) @@ -53,7 +50,7 @@ class command(): #stderr = stderr.decode(screenEncoding, "replace").encode('utf-8').decode('utf-8') #stdout = stdout.decode(screenEncoding, "replace").encode('utf-8').decode('utf-8') if stderr != '': - self.env['runtime']['outputManager'].presentText(stdout , soundIcon='', interrupt=False) + self.env['runtime']['outputManager'].presentText(stderr , soundIcon='', interrupt=False) else: self.env['runtime']['outputManager'].presentText('export clipboard', soundIcon='PasteClipboardOnScreen', interrupt=True) except Exception as e: