(
export: Export,
session)
| 711 | |
| 712 | |
| 713 | def check_for_errors( |
| 714 | export: Export, |
| 715 | session): |
| 716 | # Could also have a "warnings" thing in future |
| 717 | # This is different from the "check_export_billing" section |
| 718 | |
| 719 | if export.file_list_length == 0: |
| 720 | declare_export_failed( |
| 721 | export = export, |
| 722 | reason = "File List is Empty. Have tasks been completed? Potential Fix: To view all files: Un-select 'Complete Files Only'.", |
| 723 | session = session) |
| 724 | return False |
| 725 | |
| 726 | return True |
| 727 | |
| 728 | |
| 729 | def declare_export_failed( |
no test coverage detected