Created
February 13, 2010 21:14
-
-
Save pawelz/303678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim:fileencoding=utf-8:sw=4 | |
# Copyright (c) 2009 by Paweł Zuzelski <pawelz@pld-linux.org> | |
# Licensed under terms of WTFPL, see http://sam.zoy.org/wtfpl/ | |
import ekg | |
import sys | |
def messageHandler(session, uid, type, text, stime, ignore_level): | |
sys.stdout.write("\a") | |
ekg.handler_bind("protocol-message-received", messageHandler) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment