Set batch_write to False in __init__

This commit is contained in:
Andrew Resch 2009-11-25 18:23:55 +00:00
parent 635260e686
commit 93468f342a
1 changed files with 2 additions and 0 deletions

View File

@ -141,6 +141,8 @@ class ConsoleUI(component.Component):
def __init__(self, args=None):
component.Component.__init__(self, "ConsoleUI", 2)
self.batch_write = False
try:
locale.setlocale(locale.LC_ALL, '')
self.encoding = locale.getpreferredencoding()