mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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