s/;$// ... this is not C

This commit is contained in:
urlbot
2014-08-01 20:16:32 +02:00
parent 6a5a90eafc
commit 3e2c9e4fcf

View File

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