mirror of
https://github.com/nikdoof/python-ts3.git
synced 2025-12-16 00:32:15 +00:00
Switch to relative imports
This commit is contained in:
@@ -25,9 +25,9 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
from protocol import TS3Proto, TS3Response, ConnectionError, NoConnectionError, InvalidArguments
|
||||
from server import TS3Server
|
||||
from defines import *
|
||||
from .protocol import TS3Proto, TS3Response, ConnectionError, NoConnectionError, InvalidArguments
|
||||
from .server import TS3Server
|
||||
from .defines import *
|
||||
|
||||
__version__ = "0.1"
|
||||
__license__ = "BSD 3-Clause"
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import logging
|
||||
from protocol import TS3Proto, InvalidArguments
|
||||
from defines import *
|
||||
from .protocol import TS3Proto, InvalidArguments
|
||||
from .defines import *
|
||||
|
||||
|
||||
class TS3Server(TS3Proto):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import unittest
|
||||
from protocol import TS3Proto
|
||||
from .protocol import TS3Proto
|
||||
|
||||
class TS3ProtoTest(unittest.TestCase):
|
||||
""" Tests the TS3Proto class """
|
||||
|
||||
Reference in New Issue
Block a user