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