Skip to content

Commit

Permalink
addressed pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed May 10, 2023
1 parent b2bf9c6 commit a0cb6e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/quasimodo_ebbo/on_chain_surplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ def get_order_data_by_hash(
)
).json()
)
if compete_data != None:
if compete_data is not None:
return compete_data["solutions"][-1]["orders"], bucket_response
else:
return [], None

return [], None
except ValueError as except_err:
self.logger.error("Unhandled exception: %s", str(except_err))
return [], None
Expand Down

0 comments on commit a0cb6e2

Please sign in to comment.