Skip to content

Commit

Permalink
fixup! more flexible constituency col config for config importer
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Nov 28, 2024
1 parent 0a05a66 commit ccc7b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub/management/commands/base_importers.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def process_data(self, df):
self.stdout.write(self.message)

for index, row in tqdm(df.iterrows(), disable=self._quiet, total=df.shape[0]):
if type(self.cons_row) == int:
if type(self.cons_row) is int:
cons = row.iloc[self.cons_row]
else:
cons = row[self.cons_row]
Expand Down

0 comments on commit ccc7b36

Please sign in to comment.