fix make first plugin ready

This commit is contained in:
chrys
2016-07-09 01:01:00 +02:00
parent 7a737c7797
commit 7c0c1b4bf1
3 changed files with 17 additions and 9 deletions

View File

@@ -1,4 +1,5 @@
#!/bin/python
# -*- coding: utf-8 -*-
# Fenrir TTY screen reader
# By Chrys, Storm Dragon, and contributers.
@@ -58,8 +59,7 @@ class fenrir():
while(self.environment['generalInformation']['running']):
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
#self.environment['input']['currShortcut'] = {}
#self.environment['input']['currShortcutString'] = ''
if self.environment['input']['currShortcutString'] != '':
if self.environment['commandInfo']['currCommand'] != '':
self.environment = self.environment['runtime']['commandManager'].executeCommand(self.environment)
time.sleep(0.5)