forked from LBRYCommunity/lbry-sdk
fixme->TODO
This commit is contained in:
parent
24386c74f4
commit
2d7929f113
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ FILES = [
|
||||||
|
|
||||||
def make_short_url(r):
|
def make_short_url(r):
|
||||||
try:
|
try:
|
||||||
# fixme: we describe it as normalized but the old SDK didnt do that
|
# TODO: we describe it as normalized but the old SDK didnt do that
|
||||||
name = r["name"].decode().replace("\x00", "")
|
name = r["name"].decode().replace("\x00", "")
|
||||||
return f'{name}#{r["shortestID"] or r["claimID"][::-1].hex()[0]}'
|
return f'{name}#{r["shortestID"] or r["claimID"][::-1].hex()[0]}'
|
||||||
except UnicodeDecodeError:
|
except UnicodeDecodeError:
|
||||||
|
|
Loading…
Reference in a new issue