Skip to content

Commit

Permalink
fixed error_handler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fenton committed Jan 19, 2025
1 parent fd6f1d9 commit 03d6da1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions i18nilize/src/internationalize/error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ def verify_languages(self):
all_language_files = os.listdir(self.translations_dir)

for language_file in all_language_files:
absolute_file_path = os.path.join(self.translations_dir, language_file)
if os.path.isdir(absolute_file_path):
continue

error = self.handle_error(language_file)
if error != "":
errors[language_file] = error
Expand Down

0 comments on commit 03d6da1

Please sign in to comment.