From 508dce1a34e85702e25e2628f6a90718b6f1a13d Mon Sep 17 00:00:00 2001 From: yvesf Date: Thu, 11 Jun 2009 17:47:05 +0000 Subject: dbchange git-svn-id: http://xapek.org/svn/common/omegle@1116 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- megahal_local.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'megahal_local.py') 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 -- cgit v1.2.1