Skip to content

Commit

Permalink
Fix Lookup Test
Browse files Browse the repository at this point in the history
  • Loading branch information
super3 committed Oct 23, 2015
1 parent e866b5a commit d8c2efd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dataserv/Audit.py
Expand Up @@ -37,6 +37,10 @@ def __init__(self, btc_addr, block, response=None):
self.block = block
self.response = response

def __eq__(self, other):
return self.btc_addr == other.btc_addr and self.block == other.block \
and self.response == other.response

def save(self):
db.session.add(self)
db.session.commit()
Expand Down

0 comments on commit d8c2efd

Please sign in to comment.