From c0b3c13c44df144d4ec07d9637ab568497cfc125 Mon Sep 17 00:00:00 2001 From: chrys Date: Sat, 9 Jul 2016 01:25:29 +0200 Subject: [PATCH] fix make second plugin ready --- src/fenrir-package/commands/curr_line.py | 2 -- src/fenrir-package/core/bindings.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrir-package/commands/curr_line.py b/src/fenrir-package/commands/curr_line.py index 82095f71..17da62a3 100644 --- a/src/fenrir-package/commands/curr_line.py +++ b/src/fenrir-package/commands/curr_line.py @@ -8,8 +8,6 @@ class command(): if environment['screenData']['newContentText'].replace(" ","") == '': environment['runtime']['speechDriver'].speak("empty screen") else: - print(environment['screenData']['newCursor']) - print(environment['screenData']['newContentText'].split('\n')) environment['runtime']['speechDriver'].speak(environment['screenData']['newContentText'].split('\n')[environment['screenData']['newCursor']['y']]) def setCallback(self, callback): pass diff --git a/src/fenrir-package/core/bindings.py b/src/fenrir-package/core/bindings.py index e37fd400..78d0db16 100644 --- a/src/fenrir-package/core/bindings.py +++ b/src/fenrir-package/core/bindings.py @@ -2,5 +2,5 @@ bindings = { '2-29,1-42':'curr_line', -'1-29':'shut_up', +'2-29,1-30':'shut_up' }