Przeglądaj źródła

More exception handling

master
Thomas Mannay GitHub 7 lat temu
rodzic
commit
8cc04b7b9d
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      seddy.py

+ 4
- 1
seddy.py Wyświetl plik

@@ -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]:


Ładowanie…
Anuluj
Zapisz