mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Fix handling of PluginNotFoundException in i18n.
This commit is contained in:
parent
2363c404b4
commit
097ea23dfc
@ -159,7 +159,7 @@ class _PluginInternationalization:
|
||||
translationFile = open(getLocalePath(self.name,
|
||||
localeName, 'po'), 'r')
|
||||
self._parse(translationFile)
|
||||
except IOError, PluginNotFound: # The translation is unavailable
|
||||
except (IOError, PluginNotFound): # The translation is unavailable
|
||||
pass
|
||||
|
||||
def _parse(self, translationFile):
|
||||
|
Loading…
Reference in New Issue
Block a user