featL add mre
This commit is contained in:
@@ -136,6 +136,9 @@ def _norm_text(*candidates: Any) -> str:
|
|||||||
if s:
|
if s:
|
||||||
return s
|
return s
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
|
||||||
|
def ensure_adult(birth_date: date) -> None:
|
||||||
today = date.today()
|
today = date.today()
|
||||||
try:
|
try:
|
||||||
adult_from = date(today.year - 18,today.month,today.day)
|
adult_from = date(today.year - 18,today.month,today.day)
|
||||||
|
|||||||
Reference in New Issue
Block a user