diff --git a/presidio_evaluator/data_generator/presidio_data_generator.py b/presidio_evaluator/data_generator/presidio_data_generator.py index 4360020..80633db 100644 --- a/presidio_evaluator/data_generator/presidio_data_generator.py +++ b/presidio_evaluator/data_generator/presidio_data_generator.py @@ -78,7 +78,7 @@ class PresidioDataGenerator: generator = ( SpanGenerator() ) # To allow PresidioDataGenerator to return spans and not just strings - self.faker = Faker(local=locale, generator=generator) + self.faker = Faker(locale=locale, generator=generator) self.lower_case_ratio = lower_case_ratio def parse(