diff options
| author | 2016-09-03 00:10:12 +0200 | |
|---|---|---|
| committer | 2016-09-03 00:10:12 +0200 | |
| commit | a5c25955128c2e7d77182001bc5c6b0391811e48 (patch) | |
| tree | 16d8a57a1f6f57a91a6a4cecff909242ee8b3c1f /module/network/HTTPChunk.py | |
| parent | Merge pull request #2582 from valdi74/patch-2 (diff) | |
| download | pyload-a5c25955128c2e7d77182001bc5c6b0391811e48.tar.xz | |
Fix UnicodeDecodeError in multiple stagesfixed
Based on patch:
https://github.com/pyload/pyload/pull/2346/commits/71021a0f81232d1b78f9b61ac288922b0762c732
Contains one more fixed line.
Diffstat (limited to 'module/network/HTTPChunk.py')
| -rw-r--r-- | module/network/HTTPChunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/HTTPChunk.py b/module/network/HTTPChunk.py index b637aef32..a27084355 100644 --- a/module/network/HTTPChunk.py +++ b/module/network/HTTPChunk.py @@ -32,7 +32,7 @@ class WrongFormat(Exception): class ChunkInfo(): def __init__(self, name): - self.name = unicode(name) + self.name = unicode(name, 'utf-8') self.size = 0 self.resume = False self.chunks = [] |
