Fix error with unicode URLs in torrent creation
Fixes https://jira.coreos.com/browse/QUAY-896
This commit is contained in:
parent
49659fc3dd
commit
747819fbd2
2 changed files with 5 additions and 1 deletions
|
@ -55,7 +55,7 @@ def make_torrent(name, webseed, length, piece_length, pieces):
|
|||
|
||||
return bencode.bencode({
|
||||
'announce': ANNOUNCE_URL + "?jwt=" + jwt_from_infodict(info_dict),
|
||||
'url-list': webseed,
|
||||
'url-list': str(webseed),
|
||||
'encoding': 'UTF-8',
|
||||
'created by': REGISTRY_TITLE,
|
||||
'creation date': int(time.time()),
|
||||
|
|
Reference in a new issue