set filesystem_encoding while creating torrent

This commit is contained in:
j 2014-10-29 01:44:29 +01:00
parent ef44a4f213
commit 563bbd5b0e

View file

@ -1228,6 +1228,7 @@ class Item(models.Model):
torrent = '%s.torrent' % base
url = "http://%s%s" % (settings.CONFIG['site']['url'], url)
meta = {
'filesystem_encoding': 'utf-8',
'target': torrent,
'url-list': url,
}