From 46f5eda284b2b52856650c28cf723abaf82dc2d4 Mon Sep 17 00:00:00 2001 From: Ryan Grieve Date: Fri, 4 Jul 2014 09:32:03 +0100 Subject: [PATCH] fixing exception --- lg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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