summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-07 23:45:29 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-07 23:45:29 +0000
commitb9f63961ba4eab77f2059ba1f571ca5cec9eb34b (patch)
tree8c991bee40903a292ac5111a6ce84160c69f5025
parentb56f9fb7612d5ab32c2a77fa47ef012b447b4be6 (diff)
downloadomegle-b9f63961ba4eab77f2059ba1f571ca5cec9eb34b.tar.gz
omegle-b9f63961ba4eab77f2059ba1f571ca5cec9eb34b.zip
blah
git-svn-id: http://xapek.org/svn/common/omegle@1478 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
-rw-r--r--db_proxy.py4
1 files changed, 2 insertions, 2 deletions
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()