Skip to content
Snippets Groups Projects
Commit f1ebd3ca authored by Eva Bardou's avatar Eva Bardou :frog: Committed by Yoann Schneider
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
......@@ -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