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 python-babel#832
  • Loading branch information
Edwin18 authored and akx committed Apr 15, 2024
1 parent e0d1018 commit f750743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion babel/messages/frontend.py
Original file line number Diff line number Diff line change
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 f750743

Please sign in to comment.