Skip to content
Browse files

Use correct exception type for error handling.

(cherry picked from commit 751a411)
  • Loading branch information
wagnerrp committed Aug 25, 2011
1 parent 69e3919 commit 4bba807ea5ec563698cdbb94e5f787484d7326e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/bindings/python/MythTV/
@@ -214,7 +214,7 @@ def delete(self, force=False, rerecord=False):
return self.getProgram().delete(force, rerecord)
except NoneType:
except AttributeError:
raise MythError("Program could not be found")

def open(self, type='r'):

0 comments on commit 4bba807

Please sign in to comment.
You can’t perform that action at this time.