update missed type hint

pull/8/head
jwfraustro 2022-11-20 13:38:58 -05:00 committed by GitHub
parent 7a71c35b65
commit bc25357297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ class DatasetTagEditor:
print(f'Total {len(filepath_set)} files under the directory including not image files.')
def load_images(filepath_set: set[str]):
def load_images(filepath_set: Set[str]):
for img_path in filepath_set:
img_dir = os.path.dirname(img_path)
img_filename, img_ext = os.path.splitext(os.path.basename(img_path))