We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45a7429 commit 60d7665Copy full SHA for 60d7665
pylgnetcast/pylgnetcast.py
@@ -179,10 +179,7 @@ def _get_session_id(self):
179
data = response.text
180
tree = ElementTree.XML(data)
181
session = tree.find('session').text
182
- if len(session) >= 8:
183
- return session
184
- else:
185
- raise SessionIdError('Can not get session id from TV.')
+ return session
186
187
def _display_pair_key(self):
188
"""Send message to display the pair key on TV screen."""
setup.py
@@ -2,7 +2,7 @@
2
from setuptools import setup
3
4
setup(name='pylgnetcast',
5
- version='0.3.0',
+ version='0.3.1',
6
description='Client for the LG Smart TV running NetCast 3 or 4.',
7
url='https://github.com/wokar/pylgnetcast',
8
license='MIT',
0 commit comments