Move locale variable to Configuration

This commit is contained in:
Worros 2009-12-22 13:47:33 +08:00
parent af1b516b23
commit 02453ce3c0

View File

@ -409,7 +409,7 @@ class Importer:
conv = None
(stored, duplicates, partial, errors, ttime) = (0, 0, 0, 0, 0)
file = file.decode(fpdb_simple.LOCALE_ENCODING)
file = file.decode(Configuration.LOCALE_ENCODING)
# Load filter, process file, pass returned filename to import_fpdb_file
if self.settings['threads'] > 0 and self.writeq is not None: