fix(playout): add locales to libretime-playout-notify calls (#1715)
Fix python36 encoding runtime error that was failing on bionic, see https://click.palletsprojects.com/en/8.1.x/unicode-support/ for details. Fixes #1606
This commit is contained in:
parent
c695b32394
commit
be25dea447
|
@ -3,7 +3,7 @@ def gateway(args)
|
||||||
command = "libretime-playout-notify #{args}"
|
command = "libretime-playout-notify #{args}"
|
||||||
suffix = "&"
|
suffix = "&"
|
||||||
log(command)
|
log(command)
|
||||||
system("#{prefix} #{command} #{suffix}")
|
system("LC_ALL=C.UTF-8 LANG=C.UTF-8 #{prefix} #{command} #{suffix}")
|
||||||
end
|
end
|
||||||
|
|
||||||
def notify(m)
|
def notify(m)
|
||||||
|
|
Loading…
Reference in New Issue