mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-07 02:01:40 -05:00
Merge pull request #1119 from hurricanehrndz/master
Decode string using utf-8
This commit is contained in:
commit
5ce42a0fb2
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ response = urllib.request.urlopen(req, context=context)
|
|||
index = response.read()
|
||||
|
||||
parser = Pep503()
|
||||
parser.feed(str(index))
|
||||
parser.feed(str(index, "utf-8"))
|
||||
if package_filename not in parser.sources:
|
||||
print(
|
||||
"The file %s has not be found in the index %s" % (package_filename, index_url)
|
||||
|
|
Loading…
Add table
Reference in a new issue