on_updateButton_clicked(): variable used before set #19

Closed
opened 2025-02-27 10:03:45 -05:00 by ctjctj · 0 comments
Owner
Error calling Python override of QThread::run(): Traceback (most recent call last):
  File "/home/cjohnson/git/scotus/workers.py", line 300, in run
    case_id = update_db(str(self.docket_id), db)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/cjohnson/git/scotus/workers.py", line 265, in update_db
    if deactivate:
       ^^^^^^^^^^
UnboundLocalError: cannot access local variable 'deactivate' where it is not associated with a value
``` Error calling Python override of QThread::run(): Traceback (most recent call last): File "/home/cjohnson/git/scotus/workers.py", line 300, in run case_id = update_db(str(self.docket_id), db) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/cjohnson/git/scotus/workers.py", line 265, in update_db if deactivate: ^^^^^^^^^^ UnboundLocalError: cannot access local variable 'deactivate' where it is not associated with a value ```
ctjctj added the
bug
label 2025-02-27 10:03:45 -05:00
ctjctj self-assigned this 2025-02-27 10:03:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Troglodite/scotus-watch#19
No description provided.