More pep8 fixes. A tiny bit of refactoring.
This commit is contained in:
@ -2,23 +2,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Fenrir TTY screen reader
|
||||
# By Chrys, Storm Dragon, and contributers.
|
||||
# By Chrys, Storm Dragon, and contributors.
|
||||
|
||||
import time
|
||||
|
||||
from fenrirscreenreader.core import debug
|
||||
import time
|
||||
|
||||
# used as shared memory between commands
|
||||
# use this in your own commands
|
||||
command_buffer = {
|
||||
'enableSpeechOnKeypress': False,
|
||||
'Marks': {'1': None, '2': None},
|
||||
'bookMarks': {},
|
||||
'windowArea': {},
|
||||
"enableSpeechOnKeypress": False,
|
||||
"Marks": {"1": None, "2": None},
|
||||
"bookMarks": {},
|
||||
"windowArea": {},
|
||||
}
|
||||
|
||||
# used by the command_manager
|
||||
command_info = {
|
||||
# 'curr_command': '',
|
||||
'lastCommandExecutionTime': time.time(),
|
||||
'lastCommandRequestTime': time.time(),
|
||||
"lastCommandExecutionTime": time.time(),
|
||||
"lastCommandRequestTime": time.time(),
|
||||
}
|
||||
|
Reference in New Issue
Block a user