Problem
In main.py:330-331, the except block calls progress_bar.empty() and status.update(...). If the exception occurs before these are created, this causes a NameError.
Solution
Initialize progress_bar = None and status = None before the try block, and guard the except cleanup.
Acceptance Criteria
Difficulty: Easy
Problem
In
main.py:330-331, theexceptblock callsprogress_bar.empty()andstatus.update(...). If the exception occurs before these are created, this causes aNameError.Solution
Initialize
progress_bar = Noneandstatus = Nonebefore thetryblock, and guard theexceptcleanup.Acceptance Criteria
Difficulty: Easy