ソースを参照

More exception handling

master
Thomas Mannay GitHub 7年前
コミット
8cc04b7b9d
1個のファイルの変更4行の追加1行の削除
  1. +4
    -1
      seddy.py

+ 4
- 1
seddy.py ファイルの表示

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


読み込み中…
キャンセル
保存