int(value or 0)
from: https://stackoverflow.com/questions/3930188/how-to-convert-nonetype-to-int-or-string
No comments:
Post a Comment