diff --git a/deluge/core/core.py b/deluge/core/core.py index a13908378..03ef01802 100644 --- a/deluge/core/core.py +++ b/deluge/core/core.py @@ -150,7 +150,7 @@ class Core( # Initialize gettext if deluge.common.windows_check(): - locale.set_locale(locale.LC_ALL, '') + locale.setlocale(locale.LC_ALL, '') else: locale.setlocale(locale.LC_MESSAGES, '') locale.bindtextdomain("deluge",