Module opening_hours.helpers
Expand source code
import unicodedata
def normalize_string(string):
string = unicodedata.normalize('NFC', string)
string = string.strip()
return string
Functions
def normalize_string(string)
-
Expand source code
def normalize_string(string): string = unicodedata.normalize('NFC', string) string = string.strip() return string