diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 15:55:27 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 15:55:27 +0000 |
commit | 486124c5ad6919bd8029918da1c8084b01112906 (patch) | |
tree | eaa68f75508e582c4b2948a905b755a7a169cbd6 /omegle.py | |
parent | d636287ebd99cf4ad044624970869eb97ffafe47 (diff) | |
download | omegle-486124c5ad6919bd8029918da1c8084b01112906.tar.gz omegle-486124c5ad6919bd8029918da1c8084b01112906.zip |
blah
git-svn-id: http://xapek.org/svn/common/omegle@1030 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'omegle.py')
-rw-r--r-- | omegle.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -189,7 +189,8 @@ if __name__ == "__main__": logging.basicConfig(level=logging.INFO) print "Lets chat. Type \"quit\" to disconnect" chat = OmegleChat() - def exit(self): + def exit(): + OmegleChat.on_disconnect(chat) sys.exit(0) chat.on_disconnect = exit chat.start() |