mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-22 01:58:45 +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):
|
||||
errors = []
|
||||
libintl = None
|
||||
for library in libintls:
|
||||
try:
|
||||
libintl = ctypes.cdll.LoadLibrary(library)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue