aboutsummaryrefslogtreecommitdiffstats
path: root/devscripts/update-formulae.py
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts/update-formulae.py')
-rw-r--r--devscripts/update-formulae.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/devscripts/update-formulae.py b/devscripts/update-formulae.py
index 6424f5d9b..a89872c7b 100644
--- a/devscripts/update-formulae.py
+++ b/devscripts/update-formulae.py
@@ -17,7 +17,7 @@ normalized_version = '.'.join(str(int(x)) for x in version.split('.'))
pypi_release = json.loads(compat_urllib_request.urlopen(
'https://pypi.org/pypi/yt-dlp/%s/json' % normalized_version
-).read().decode('utf-8'))
+).read().decode())
tarball_file = next(x for x in pypi_release['urls'] if x['filename'].endswith('.tar.gz'))