Remove GitPython dependency (#568)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -231,7 +231,7 @@ def check_dataset_yaml(dataset, autodownload=True):
|
||||
if s and autodownload:
|
||||
LOGGER.warning(msg)
|
||||
else:
|
||||
raise FileNotFoundError(s)
|
||||
raise FileNotFoundError(msg)
|
||||
t = time.time()
|
||||
if s.startswith('http') and s.endswith('.zip'): # URL
|
||||
f = Path(s).name # filename
|
||||
|
Reference in New Issue
Block a user