mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-10 23:14:33 +12:00
Fix crash of issue #1082
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
eeb98a8ccd
commit
16f6ecc8bc
|
@ -301,9 +301,12 @@ def infos(ref):
|
|||
if item:
|
||||
for r in range(item.rowCount()):
|
||||
ID = item.child(r, 0).text()
|
||||
characters += "<li><a href='{link}'>{text}</a>".format(
|
||||
link=characterReference(ID),
|
||||
text=pM.getCharacterByID(ID).name())
|
||||
character = pM.getCharacterByID(ID)
|
||||
|
||||
if character is not None:
|
||||
characters += "<li><a href='{link}'>{text}</a>".format(
|
||||
link=characterReference(ID),
|
||||
text=character.name())
|
||||
|
||||
# Resolution steps
|
||||
steps = ""
|
||||
|
|
Loading…
Reference in a new issue