Hotfix: Replace ' by a real apostrophe
This commit is contained in:
parent
f6977c2c5d
commit
ab3da26e45
1 changed files with 2 additions and 0 deletions
|
@ -228,7 +228,9 @@ def enqueue_job(event):
|
||||||
|
|
||||||
t = fit_title(event_title, int(title_fontsize), int(title_x))
|
t = fit_title(event_title, int(title_fontsize), int(title_x))
|
||||||
t = t.replace(':', "\:") # the ffmpeg command needs colons to be escaped
|
t = t.replace(':', "\:") # the ffmpeg command needs colons to be escaped
|
||||||
|
t = t.replace('\'', "’") # the ffmpeg command needs ' to be escaped
|
||||||
s = fit_speaker(event_personnames, int(speaker_fontsize), int(speaker_x))
|
s = fit_speaker(event_personnames, int(speaker_fontsize), int(speaker_x))
|
||||||
|
s = s.replace('\'', "’") # the ffmpeg command needs ' to be escaped
|
||||||
|
|
||||||
if args.debug:
|
if args.debug:
|
||||||
print('Title: ', t)
|
print('Title: ', t)
|
||||||
|
|
Loading…
Add table
Reference in a new issue