From b95e9eaf4c209db3f86d289b7972a5d37be08a81 Mon Sep 17 00:00:00 2001 From: Remy Date: Fri, 19 Aug 2011 15:46:49 +0800 Subject: [PATCH] Changed configobj to utf-8 --- Headphones.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Headphones.py b/Headphones.py index ba494c51..7f9139fe 100755 --- a/Headphones.py +++ b/Headphones.py @@ -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()