Thank you!
the problem was caused by an unicode string. Changing this line:
| "attachment; filename=\"" +
os.path.basename(video['title'] + "." + video['format']) + "\"")
to this:
|| "attachment; filename=\"" +
str(os.path.basename(video
Am Samstag, 30. August 2014, 21:28:19 schrieb Stefan Hesse:
> I hope it is ok when I post the link to stackoverflow, where I already
> explained the problem.
> File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1001, in
> write
value = networkString('%s' % (value,))
File "/us
Hi everyone,
I hope it is ok when I post the link to stackoverflow, where I already
explained the problem.
http://stackoverflow.com/questions/25581856/twisted-throws-can-only-pass-through-bytes-on-python-2-for-no-reason
I hope someone can help,
Best regards
Stefan
__