fix: Remove nested try block and fix indentation in SQL query
This commit is contained in:
parent
819c91ff4a
commit
1b852b2d8d
@ -238,7 +238,6 @@ def run_sunny_scanner(min_price: float, max_price: float, min_volume: int, portf
|
||||
ORDER BY ticker
|
||||
"""
|
||||
|
||||
try:
|
||||
result = client.query(query)
|
||||
qualified_stocks = [(row[0], row[1], row[2], row[3]) for row in result.result_rows]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user