Skip to content
This repository has been archived by the owner on Dec 2, 2019. It is now read-only.

Commit

Permalink
fixed key storage
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealLink committed Apr 18, 2016
1 parent 618b670 commit c5f41af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pylgtv/webos_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def load_key_file(self):
if os.path.isfile(key_file_path):
with open(key_file_path, 'r') as f:
raw_data = f.read()
key_dict = json.loads(raw_data)
if raw_data:
key_dict = json.loads(raw_data)

if self.ip in key_dict:
self.client_key = key_dict[self.ip]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='pylgtv',
version='0.0.9',
version='0.1.0',
description='Library to control webOS based LG Tv devices',
url='https://github.com/TheRealLink/pylgtv',
author='Dennis Karpienski',
Expand Down

0 comments on commit c5f41af

Please sign in to comment.