summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()