mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-22 10:09:14 +00:00
[i18n] Fix load_libintl error
Fixed libintl being undefined if no library was found
This commit is contained in:
parent
c3cd7f5e5c
commit
d2390cd247
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ def setup_translation():
|
||||||
|
|
||||||
def load_libintl(libintls):
|
def load_libintl(libintls):
|
||||||
errors = []
|
errors = []
|
||||||
|
libintl = None
|
||||||
for library in libintls:
|
for library in libintls:
|
||||||
try:
|
try:
|
||||||
libintl = ctypes.cdll.LoadLibrary(library)
|
libintl = ctypes.cdll.LoadLibrary(library)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue