Skip to content

Commit

Permalink
fix get_values
Browse files Browse the repository at this point in the history
  • Loading branch information
clallemand committed Jan 7, 2025
1 parent caafc7c commit bfb7129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_survey_manager/surveys.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def get_values(self, variables = None, table = None, lowercase = False, ignoreca
if table is None:
raise Exception("A table name is needed to retrieve data from a parquet file")
for table_name, table_content in self.tables.items():
if table in table_name:
if table == table_name:
parquet_file = table_content.get("parquet_file")
# Is parquet_file a folder or a file?
if os.path.isdir(parquet_file):
Expand Down

0 comments on commit bfb7129

Please sign in to comment.