summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example.py b/example.py
index dc7066ee..b42bc40e 100644
--- a/example.py
+++ b/example.py
@@ -1,12 +1,12 @@
-import sleekxmpp.clientxmpp
+import sleekxmpp
import logging
from optparse import OptionParser
import time
-class Example(sleekxmpp.clientxmpp.ClientXMPP):
+class Example(sleekxmpp.ClientXMPP):
def __init__(self, jid, password):
- sleekxmpp.clientxmpp.ClientXMPP.__init__(self, jid, password)
+ sleekxmpp.ClientXMPP.__init__(self, jid, password)
self.add_event_handler("session_start", self.start)
self.add_event_handler("message", self.message)