Fixes last security issues

This commit is contained in:
Matteo Biscosi 2023-04-06 12:03:50 +00:00
parent 05bd1b7a02
commit 6db98842d8
7 changed files with 5 additions and 17 deletions

View file

@ -55,7 +55,7 @@ class LocalizationFile(object):
else:
self.next_skip = line.endswith("..")
def close(self)
def close(self):
self.f.close()
# Wrapper to provide len and indexing on the LocalizationFile