resolve name bug

This commit is contained in:
Jack 2016-07-25 23:46:18 -04:00
parent ca45f461ae
commit 9e8827f015

View file

@ -124,5 +124,5 @@ class Metadata(dict):
self.metaversion = version self.metaversion = version
break break
if 'fee' in m: if 'fee' in m:
self.update({'fee': LBRYFeeFormat(m.pop('fee'))}) self['fee'] = LBRYFeeFormat(m.pop('fee'))
assert m == {}, "Unknown metadata keys: %s" % json.dumps(m.keys()) assert m == {}, "Unknown metadata keys: %s" % json.dumps(m.keys())