summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/common/pylgettext.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/common/pylgettext.py b/module/common/pylgettext.py
index ae6d39325..fb36fecee 100644
--- a/module/common/pylgettext.py
+++ b/module/common/pylgettext.py
@@ -58,5 +58,4 @@ def find(domain, localedir=None, languages=None, all=False):
return results
#Is there a smarter/cleaner pythonic way for this?
-translation.__globals__['find'] = find
-
+translation.func_globals['find'] = find