Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
SongminYu committed Jan 22, 2024
2 parents 75e16b6 + ff4dd45 commit edcc367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tab2dict/tab_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_empty_data_tdict(cls, key_cols: List[str]):

@staticmethod
def _detect_type(file_path: str):
file_name = file_path.split("/")[-1]
file_name = os.path.basename(file_path)
assert file_name.startswith(
("ID_", "Relation_", "Data_")
), "FileName Invalid: must start with 'ID_', 'Relation_', or 'Data_'."
Expand Down

0 comments on commit edcc367

Please sign in to comment.