diff --git a/pylgtv/webos_client.py b/pylgtv/webos_client.py index 1856827..1dd20e6 100644 --- a/pylgtv/webos_client.py +++ b/pylgtv/webos_client.py @@ -22,7 +22,7 @@ def __init__(self, id, message): class WebOsClient(object): - def __init__(self, ip, key_file_path=None): + def __init__(self, ip, key_file_path=None, timeout_connect=2): """Initialize the client.""" self.ip = ip self.port = 3000 @@ -31,7 +31,7 @@ def __init__(self, ip, key_file_path=None): self.web_socket = None self.command_count = 0 self.last_response = None - self.timeout_connect = 2 + self.timeout_connect = timeout_connect self.load_key_file() diff --git a/setup.py b/setup.py index aa7d97b..fb24f3a 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup(name='pylgtv', - version='0.1.4', + version='0.1.5', description='Library to control webOS based LG Tv devices', url='https://github.com/TheRealLink/pylgtv', author='Dennis Karpienski',