salomonsky commited on
Commit
e2fb9d9
·
verified ·
1 Parent(s): 70c9087

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -21,6 +21,9 @@ def generar_telefono_por_estado(estado):
21
  def generar_nss():
22
  return f"{random.randint(100, 999)}-{random.randint(10, 99)}-{random.randint(1000, 9999)}"
23
 
 
 
 
24
  def generar_correo_aleatorio():
25
  try:
26
  diccionario = PyDictionary()
 
21
  def generar_nss():
22
  return f"{random.randint(100, 999)}-{random.randint(10, 99)}-{random.randint(1000, 9999)}"
23
 
24
+ def limpiar_correo(correo):
25
+ return unidecode(correo.replace(" ", "").lower())
26
+
27
  def generar_correo_aleatorio():
28
  try:
29
  diccionario = PyDictionary()