mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Fix previous merge.
This commit is contained in:
parent
492a5ac04c
commit
4a9d3ccd3e
@ -165,7 +165,8 @@ class _PluginInternationalization:
|
||||
except (IOError, PluginNotFound): # The translation is unavailable
|
||||
pass
|
||||
finally:
|
||||
translationFile.close()
|
||||
if 'translationFile' in locals():
|
||||
translationFile.close()
|
||||
|
||||
def _parse(self, translationFile):
|
||||
"""A .po files parser.
|
||||
|
Loading…
Reference in New Issue
Block a user