this module is not finished, but I wanted to push it in case I need to work on it on the netbook. Half-complete debug.py.

This commit is contained in:
Storm Dragon 2016-07-06 16:36:06 -04:00
parent d438cdde94
commit 03b81fcaef

View File

@ -0,0 +1,21 @@
#!/usr/bin/python
# Debugger module for the Fenrir screen reader.
class debug():
def __init__(self, level=0i, debugFile=/var/log/fenrir.log)
self.debugLevel = level
def get_debug_level():
return debugLevel
def set_debug_level(level):
debugLevel = level
def get_debug_file():
return debugFile
def set_debug_file(file):
debugFile = file