From 3e2c9e4fcfc5819cf55b3992bdaea603927378d7 Mon Sep 17 00:00:00 2001 From: urlbot Date: Fri, 1 Aug 2014 20:16:32 +0200 Subject: [PATCH] s/;$// ... this is not C --- eventlooper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eventlooper.py b/eventlooper.py index 20da84e..0afd9f4 100755 --- a/eventlooper.py +++ b/eventlooper.py @@ -115,15 +115,15 @@ def extract_url(data): chat_write(message) def mental_ill(data): - min_ill = 3; - c = 0; + min_ill = 3 + c = 0 # return True for min_ill '!' in a row for d in data: if '!' == d or '?' == d: c += 1 else: - c = 0; + c = 0 if (min_ill <= c): return True