Explorar el Código

More exception handling

master
Thomas Mannay GitHub hace 7 años
padre
commit
8cc04b7b9d
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. +4
    -1
      seddy.py

+ 4
- 1
seddy.py Ver fichero

@@ -63,7 +63,10 @@ def seddy(sed, history):
return False
if 'i' in regex[3]:
flag |= re.I
msg = history.find(regex[1], flag)
try:
msg = history.find(regex[1], f)
except:
msg = False
if msg == False:
return False
if "g" in regex[3]:


Cargando…
Cancelar
Guardar