fixing exception

This commit is contained in:
Ryan Grieve 2014-07-04 09:32:03 +01:00
parent d63de71130
commit 46f5eda284

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