Skip to content

Commit

Permalink
frontend.py: Fix function argument
Browse files Browse the repository at this point in the history
Previosly in function was passed raw value 'self.ignore_dirs', not a list as expected 'ignore_dirs'.

Fixes for #832
  • Loading branch information
Edwin18 committed Dec 22, 2023
1 parent 2a1709a commit f8f15ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel/messages/frontend.py
Expand Up @@ -458,7 +458,7 @@ def finalize_options(self):

ignore_dirs = listify_value(self.ignore_dirs)
if ignore_dirs:
self.directory_filter = _make_directory_filter(self.ignore_dirs)
self.directory_filter = _make_directory_filter(ignore_dirs)
else:
self.directory_filter = None

Expand Down

0 comments on commit f8f15ef

Please sign in to comment.