comparison plugins/plugin_misc_tarot.py @ 101:783e9d6980ec

Couchsurfing plugin: first draft SàT core: adding additionnal menu method bridge: new methods getMenus, getMenuHelp and callMenu wix: new menu are added on startup CS plugin: login on CS
author Goffi <goffi@goffi.org>
date Sat, 19 Jun 2010 17:15:30 +0800
parents 63c9067a1499
children 94011f553cd0
comparison
equal deleted inserted replaced
100:50f1591c8fc6 101:783e9d6980ec
31 31
32 from zope.interface import implements 32 from zope.interface import implements
33 33
34 from wokkel import disco, iwokkel, data_form 34 from wokkel import disco, iwokkel, data_form
35 from tools.xml_tools import XMLTools 35 from tools.xml_tools import XMLTools
36
37 from base64 import b64decode
38 from hashlib import sha1
39 from time import sleep
40 36
41 try: 37 try:
42 from twisted.words.protocols.xmlstream import XMPPHandler 38 from twisted.words.protocols.xmlstream import XMPPHandler
43 except ImportError: 39 except ImportError:
44 from wokkel.subprotocols import XMPPHandler 40 from wokkel.subprotocols import XMPPHandler