euscan-ng/euscanwww/djeuscan/helpers.py

11 lines
110 B
Python

"""
djeuscan.helpers
"""
def xint(i):
try:
return int(i)
except Exception:
return 0