Make prefseditor.py enable debugging when it's run directly
This commit is contained in:
parent
e9e1101d26
commit
d025954c60
|
@ -860,6 +860,8 @@ class PrefsEditor:
|
||||||
self.liststore.set(iter, 2, 0, 3, 0)
|
self.liststore.set(iter, 2, 0, 3, 0)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
import util
|
||||||
|
util.DEBUG = True
|
||||||
import terminal
|
import terminal
|
||||||
term = terminal.Terminal()
|
term = terminal.Terminal()
|
||||||
foo = PrefsEditor(term)
|
foo = PrefsEditor(term)
|
||||||
|
|
Loading…
Reference in New Issue