Files
bugsink/sentry/utils/strings.py
2024-04-08 14:36:34 +02:00

8 lines
136 B
Python

from django.utils.encoding import smart_str
def strip(value):
if not value:
return ""
return smart_str(value).strip()