Skip to content

Commit

Permalink
Update "Version" to "1.5.1"
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeqfu committed Jun 17, 2023
1 parent d2daecd commit 21d8271
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyhelpers/data/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Affiliation": "Birmingham Centre for Railway Research and Education, School of Engineering, University of Birmingham",
"Email": "[email protected]",
"Description": "An open-source toolkit for facilitating Python users' data manipulation tasks.",
"Version": "1.5.0",
"Version": "1.5.1",
"License": "GPLv3+",
"First release": "September 2019"
}
2 changes: 1 addition & 1 deletion pyhelpers/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def save_spreadsheet(data, path_to_file, index=False, engine=None, delimiter=','
"""

_, filename = _check_saving_path(path_to_file=path_to_file, verbose=verbose, ret_info=True)
filename_, ext = os.path.splitext(filename)
_, ext = os.path.splitext(filename)

valid_extensions = {".txt", ".csv", ".xlsx", ".xls", ".ods", ".odt"}
assert ext in valid_extensions, f"File extension must be one of {valid_extensions}."
Expand Down

0 comments on commit 21d8271

Please sign in to comment.