Last active
March 26, 2020 20:32
-
-
Save Varriount/f313e20124c522739a06e76a146c5e14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def display_hint(value): | |
return 'string' | |
def to_string(value): | |
if value: | |
l = int(value['Sup']['len']) | |
return value['data'][0].address.string("utf-8", "ignore", l) | |
else: | |
return "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment