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:
parent
3c4de102f6
commit
d6a4ffb778
9 changed files with 138 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue