Changed configobj to utf-8

This commit is contained in:
Remy
2011-08-19 15:46:49 +08:00
committed by Pablo Alcantara
parent 678f919b7c
commit b95e9eaf4c

View File

@@ -84,7 +84,7 @@ def main():
# Put the database in the DATA_DIR
headphones.DB_FILE = os.path.join(headphones.DATA_DIR, 'headphones.db')
headphones.CFG = ConfigObj(headphones.CONFIG_FILE)
headphones.CFG = ConfigObj(headphones.CONFIG_FILE, encoding='utf-8')
# Read config & start logging
headphones.initialize()