diff --git a/lg.py b/lg.py index b8f9182..8f46445 100644 --- a/lg.py +++ b/lg.py @@ -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