summaryrefslogtreecommitdiff
path: root/megahal_local.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-06-11 17:47:05 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-06-11 17:47:05 +0000
commit508dce1a34e85702e25e2628f6a90718b6f1a13d (patch)
treeda2f75bc7d40a0cbfdb11db7444ada8f3d96d3c6 /megahal_local.py
parent6124c3ead6a45ae852ec2b671436a9de0566002a (diff)
downloadomegle-508dce1a34e85702e25e2628f6a90718b6f1a13d.tar.gz
omegle-508dce1a34e85702e25e2628f6a90718b6f1a13d.zip
dbchange
git-svn-id: http://xapek.org/svn/common/omegle@1116 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'megahal_local.py')
-rw-r--r--megahal_local.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/megahal_local.py b/megahal_local.py
index b17316f..024d053 100644
--- a/megahal_local.py
+++ b/megahal_local.py
@@ -4,7 +4,7 @@ import pyPgSQL.PgSQL
mh_python.initbrain()
-conn = pyPgSQL.PgSQL.connect("")
+conn = pyPgSQL.PgSQL.connect(database="omegle")
cur = conn.cursor()
cur.execute("""
@@ -24,7 +24,7 @@ while True:
print "%s%s" % ("\033[2K\033[E",c),
mh_python.learn("%s"%message[0])
-print ""
+print "all learned"
cur.close()
conn.close()
import sys