summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'proxy.py')
-rw-r--r--proxy.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/proxy.py b/proxy.py
index 957b116..2ea2798 100644
--- a/proxy.py
+++ b/proxy.py
@@ -8,12 +8,6 @@ from omegle import OmegleChat
__all__ = ['OmegleProxyChat']
-colors = {"default":0, "black":30, "red":31, "green":32, "yellow":33,
- "blue":34,"magenta":35, "cyan":36, "white":37, "black":38, "black":39}
-
-
-
-
class OmegleProxyChat(OmegleChat):
"""Omegle class with link to other "partner" instance"""
def __init__(self,disconnect_event,name,color=0):
@@ -58,8 +52,11 @@ class OmegleProxyChat(OmegleChat):
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)
- print "press ctrl-c to abort"
+ logging.getLogger().info("press ctrl-c to abort")
event = Event()
A=OmegleProxyChat(event,"A",colors['red'])