diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/common/pylgettext.py | 3 |
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 |