mirror of https://gitlab.com/openlp/openlp.git
Correct Exception
This commit is contained in:
parent
479aa7a921
commit
ecd3ba8775
|
@ -394,7 +394,7 @@ class ServiceItem(object):
|
|||
"""
|
||||
try:
|
||||
return self._raw_frames[row][u'title']
|
||||
except:
|
||||
except keyError:
|
||||
return u''
|
||||
|
||||
def get_frame_path(self, row=0):
|
||||
|
@ -403,5 +403,5 @@ class ServiceItem(object):
|
|||
"""
|
||||
try:
|
||||
return self._raw_frames[row][u'path']
|
||||
except:
|
||||
except keyError:
|
||||
return u''
|
||||
|
|
Loading…
Reference in New Issue