diff options
Diffstat (limited to 'megahal_icq.py')
-rw-r--r-- | megahal_icq.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/megahal_icq.py b/megahal_icq.py index 8ae3dd6..0f46c00 100644 --- a/megahal_icq.py +++ b/megahal_icq.py @@ -9,8 +9,7 @@ import mh_python import pyPgSQL.PgSQL uin = '370496181' -print "Enter icq password(megahal...): ", -password = sys.stdin.readline().strip() +password = raw_input( "Enter icq password(megahal...): " ) def fill_hal(): mh_python.initbrain() @@ -22,8 +21,7 @@ def fill_hal(): SELECT message from omegle_messages WHERE LENGTH(message) BETWEEN 3 AND 30 AND NOT ( message ILIKE '%www.%' OR message ILIKE '%http%' - OR message ILIKE '%@%.%') - """) + OR message ILIKE '%@%.%')""") messages = cur.fetchall() c=0 for message in messages: |