From fb7ea791f0ac0c12267cb73f3f22567c527a537f Mon Sep 17 00:00:00 2001 From: chrys Date: Sun, 25 Sep 2016 19:23:06 +0200 Subject: [PATCH] do another fix --- .../commands/commands/{next_word.py => review_next_word.py} | 0 src/fenrir-package/fenrir.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/fenrir-package/commands/commands/{next_word.py => review_next_word.py} (100%) diff --git a/src/fenrir-package/commands/commands/next_word.py b/src/fenrir-package/commands/commands/review_next_word.py similarity index 100% rename from src/fenrir-package/commands/commands/next_word.py rename to src/fenrir-package/commands/commands/review_next_word.py diff --git a/src/fenrir-package/fenrir.py b/src/fenrir-package/fenrir.py index bee5c28f..2d24f6c9 100755 --- a/src/fenrir-package/fenrir.py +++ b/src/fenrir-package/fenrir.py @@ -43,7 +43,7 @@ class fenrir(): # self.environment['runtime']['inputManager'].isFenrirKeyPressed()) and \ # not self.environment['runtime']['commandManager'].isCommandQueued(): print('vor',self.wasCommand,self.currShortcutLenght) - if not (self.wasCommand and self.environment['runtime']['inputManager'].isFenrirKeyPressed()): + if not (self.wasCommand or self.environment['runtime']['inputManager'].isFenrirKeyPressed()): print('dri') self.environment['runtime']['inputManager'].writeEventBuffer() if self.environment['runtime']['inputManager'].noKeyPressed():