fixme->TODO

This commit is contained in:
Victor Shyba 2020-09-23 14:39:24 -03:00
parent 24386c74f4
commit 2d7929f113

View file

@ -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: