From b9f63961ba4eab77f2059ba1f571ca5cec9eb34b Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 7 Dec 2009 23:45:29 +0000 Subject: blah git-svn-id: http://xapek.org/svn/common/omegle@1478 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- db_proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db_proxy.py') diff --git a/db_proxy.py b/db_proxy.py index fc79bc4..3ae380c 100644 --- a/db_proxy.py +++ b/db_proxy.py @@ -57,10 +57,10 @@ if __name__ == "__main__": colors = {"default":0, "black":30, "red":31, "green":32, "yellow":33, "blue":34,"magenta":35, "cyan":36, "white":37, "black":38, "black":39} - logging.basicConfig(level=logging.DEBUG) + logging.basicConfig(level=logging.INFO) print "press ctrl-c to abort" - db=DBThread(database="omegle") + db=DBThread(**(dict(map(lambda x: x.split("="),sys.argv[1:])))) db.start() try: db.create_table() -- cgit v1.2.1