diff options
-rw-r--r-- | translate.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/translate.py b/translate.py index ccfa7d2..dbb4c2a 100644 --- a/translate.py +++ b/translate.py @@ -70,8 +70,9 @@ for i in [ lang = i.name.removesuffix(".ini") translations = {} f = open(i) - next(f) for line in f: + if line.strip() == "" or line.strip() == "[hurrycurry]": + continue key, value = line.split("=", 1) translations[key.strip()] = value.strip() langs[lang] = translations |