fixing exception

This commit is contained in:
Ryan Grieve 2014-07-04 09:32:03 +01:00
parent d63de71130
commit 46f5eda284
1 changed files with 2 additions and 2 deletions

4
lg.py
View File

@ -69,10 +69,10 @@ class Remote():
sock.close()
if first_only:
raise NoTVFound
raise Remote.NoTVFound
else:
if len(addresses) == 0:
raise NoTVFound
raise Remote.NoTVFound
else:
return addresses