Skip to content

Commit

Permalink
fix: builtins.TypeError: can only concatenate str (not "NoneType") to…
Browse files Browse the repository at this point in the history
… str
  • Loading branch information
WanWizard committed Sep 14, 2023
1 parent 870f356 commit 91e5003
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imdb/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,9 @@ def quote(lines):
line += character + ": "
if stageDirection:
line += "[%s] " % stageDirection
line += get(char, 'text')
text = get(char, 'text')
if text:
line += text
elif stageDirection:
line += "[%s]" % stageDirection
q.append(line)
Expand Down

0 comments on commit 91e5003

Please sign in to comment.