Added check for DB structure differences in TV DB Mgr
This commit is contained in:
parent
5573558532
commit
46a50de811
|
@ -37,6 +37,7 @@ class channel:
|
|||
pass
|
||||
|
||||
def import_from_mythObject(self, mythObject):
|
||||
try:
|
||||
self.chanID = mythObject[0]
|
||||
self.channum = mythObject[1]
|
||||
self.freqid = mythObject[2]
|
||||
|
@ -64,6 +65,8 @@ class channel:
|
|||
self.atsc_major_chan = mythObject[24]
|
||||
self.atsc_minor_chan = mythObject[25]
|
||||
self.last_record = mythObject[26]
|
||||
except IndexError, e:
|
||||
print "Found difference in DB structure. Attempting to continue."
|
||||
|
||||
class show:
|
||||
|
||||
|
|
Loading…
Reference in New Issue