make line neater

This commit is contained in:
Jack 2016-08-04 23:27:25 -04:00
parent b29377dc2b
commit 28c4e38272

View file

@ -595,7 +595,7 @@ class LBRYWallet(object):
def _get_claim_metadata_for_sd_hash(self, sd_hash):
d = self.db.runQuery("select name, txid from name_metadata where sd_hash=?", (sd_hash,))
d.addCallback(lambda r: r[0] if len(r) else None)
d.addCallback(lambda r: r[0] if r else None)
return d
def _update_claimid(self, claim_id, name, txid):