Fix XEP-0065 imports and naming for Python3.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from sleekxmpp.plugins.base import register_plugin
|
||||
from sleekxmpp.plugins.xep_0065.proxy import xep_0065
|
||||
from sleekxmpp.plugins.xep_0065.proxy import XEP_0065
|
||||
|
||||
|
||||
register_plugin(xep_0065)
|
||||
register_plugin(XEP_0065)
|
||||
|
@@ -7,7 +7,7 @@ from hashlib import sha1
|
||||
from select import select
|
||||
from uuid import uuid4
|
||||
|
||||
import stanza
|
||||
from sleekxmpp.plugins.xep_0065 import stanza
|
||||
|
||||
from sleekxmpp.plugins.base import base_plugin
|
||||
from sleekxmpp.xmlstream.handler import Callback
|
||||
@@ -18,7 +18,7 @@ from sleekxmpp.thirdparty.socks import socksocket, PROXY_TYPE_SOCKS5
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class xep_0065(base_plugin):
|
||||
class XEP_0065(base_plugin):
|
||||
"""
|
||||
XEP-0065 Socks5 Bytestreams
|
||||
"""
|
||||
|
Reference in New Issue
Block a user