diff --git a/yomi_base/constants.py b/yomi_base/constants.py index 6019fc8..ad61304 100644 --- a/yomi_base/constants.py +++ b/yomi_base/constants.py @@ -17,6 +17,6 @@ c = { - 'appVersion': '0.24b', + 'appVersion': '0.25b', 'apiVersion': 1 } diff --git a/yomi_base/japanese/__init__.py b/yomi_base/japanese/__init__.py index 77ab2a1..b8006c9 100644 --- a/yomi_base/japanese/__init__.py +++ b/yomi_base/japanese/__init__.py @@ -25,6 +25,6 @@ import translate def initLanguage(): directory = os.path.dirname(__file__) return translate.Translator( - deinflect.Deinflector(os.path.join(directory, 'deinflect.json')), - dictionary.Dictionary(os.path.join(directory, 'dictionary.db')) + deinflect.Deinflector(os.path.join(directory, u'deinflect.json')), + dictionary.Dictionary(os.path.join(directory, u'dictionary.db')) ) diff --git a/yomi_base/preference_data.py b/yomi_base/preference_data.py index 59737a3..666b8e4 100644 --- a/yomi_base/preference_data.py +++ b/yomi_base/preference_data.py @@ -24,8 +24,8 @@ import os class Preferences(object): def __init__(self): - self.filename = os.path.expanduser('~/.yomichan.json') - self.defaults = os.path.join(os.path.dirname(__file__), 'defaults.json') + self.filename = os.path.expanduser(u'~/.yomichan.json') + self.defaults = os.path.join(os.path.dirname(__file__), u'defaults.json') self.settings = {}