diff --git a/datascraper/main_datascraper.py b/datascraper/main_datascraper.py index 580acb8f7..1d82e9e20 100644 --- a/datascraper/main_datascraper.py +++ b/datascraper/main_datascraper.py @@ -248,6 +248,8 @@ def start_datascraper(): continue download = result["download"] others = download.others + if not others: + continue model_directory = os.path.join(others[0][2], others[0][3]) if not args.metadata: for arg in others: