CC-3207: Exception 'latin-1' codec can't encode character u'\u2013' in

position 32: ordinal not in range(256)

- fixed
This commit is contained in:
James 2011-12-15 16:09:58 -05:00
parent 6efef7b174
commit 22b2b466e5
2 changed files with 6 additions and 6 deletions

View file

@ -204,7 +204,7 @@ class PypoFetch(Thread):
temp = "0"
buffer += temp
buffer += "\n"
fh.write(buffer)
fh.write(api_client.encode_to(buffer))
fh.write("log_file = \"/var/log/airtime/pypo-liquidsoap/<script>.log\"\n");
fh.close()
# restarting pypo.