mirror of
https://github.com/nikdoof/python-ts3.git
synced 2025-12-17 20:09:23 +00:00
Add version information, change setup to use the module version
This commit is contained in:
7
ts3.py
7
ts3.py
@@ -29,6 +29,11 @@ import time
|
||||
import telnetlib
|
||||
import logging
|
||||
|
||||
__version__ = "0.1"
|
||||
__license__ = "BSD 3-Clause"
|
||||
__copyright__ = "Copyright 2011, Andrew Williams"
|
||||
__author__ = "Andrew Williams, Krzysztof Jagiello"
|
||||
|
||||
class ConnectionError(Exception):
|
||||
def __init__(self, ip, port):
|
||||
self.ip = ip
|
||||
@@ -276,4 +281,4 @@ class TS3Server(TS3Proto):
|
||||
@param id: Virtual Server ID
|
||||
@type id: int
|
||||
"""
|
||||
self.send_command('use', keys={'sid': id})
|
||||
self.send_command('use', keys={'sid': id})
|
||||
|
||||
Reference in New Issue
Block a user