Indentation error. Fixes: #19
This commit is contained in:
14
workers.py
14
workers.py
@@ -264,13 +264,13 @@ def update_db(case_id: str, db: QSqlDatabase) -> int:
|
|||||||
query.bindValue(":rhs", linked_id)
|
query.bindValue(":rhs", linked_id)
|
||||||
if not query.exec():
|
if not query.exec():
|
||||||
query_error(query)
|
query_error(query)
|
||||||
if re.match(r"\d+-\d+$", docket_id):
|
if re.match(r"\d+-\d+$", docket_id):
|
||||||
deactivate = False
|
deactivate = False
|
||||||
if deactivate:
|
if deactivate:
|
||||||
query.prepare("UPDATE cases SET active=0 WHERE case_id = :cid")
|
query.prepare("UPDATE cases SET active=0 WHERE case_id = :cid")
|
||||||
query.bindValue(":cid", case_id)
|
query.bindValue(":cid", case_id)
|
||||||
if not query.exec():
|
if not query.exec():
|
||||||
query_error(query)
|
query_error(query)
|
||||||
|
|
||||||
#
|
#
|
||||||
# XXX - Process lower courts
|
# XXX - Process lower courts
|
||||||
|
|||||||
Reference in New Issue
Block a user