Skip to content
Snippets Groups Projects
Commit 81e3cc3a authored by Eva Bardou's avatar Eva Bardou :frog:
Browse files

Crash early before downloading images, etc, when no data is extracted at all

parent 48d4aa0d
No related branches found
No related tags found
1 merge request!317Crash early before downloading images, etc, when no data is extracted at all
This commit is part of merge request !317. Comments created here will be created in the context of that merge request.
......@@ -481,6 +481,11 @@ class ArkindexExtractor:
pbar.update()
pbar.refresh()
if not self.data:
raise Exception(
"No data was extracted using the provided export database and parameters"
)
self.download_images()
self.format_lm_files()
self.export()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment