Skip to content

Commit

Permalink
various fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton authored and odscjames committed Sep 13, 2024
1 parent 1a534d4 commit c7de0e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

- Some typos in docs, comments and examples
- Put back some translations that were removed
- Minor python tidyups
- Avoid deprecation warning from the ijson package. https://github.com/OpenDataServices/flatten-tool/pull/458

### Removed
Expand Down
2 changes: 1 addition & 1 deletion flattentool/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def main():
try:
# Note: Ensures that empty arguments are not passed to the create_template function
create_template(**kwargs_from_parsed_args(args))
except (OSError, IOError) as e:
except OSError as e:
print(str(e))
return
elif args.subparser_name == "flatten":
Expand Down
2 changes: 1 addition & 1 deletion flattentool/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def read_sheets(self):
for sheet in self.exclude_sheets or []:
self.sheet_names_map.pop(sheet, None)

sheet_names = list(sheet for sheet in self.sheet_names_map.keys())
sheet_names = list(self.sheet_names_map.keys())
self.sub_sheet_names = sheet_names
self.configure_sheets()

Expand Down

0 comments on commit c7de0e7

Please sign in to comment.