Fix TypeError in Python 3.9.5

This commit is contained in:
Y7n05h 2021-06-10 18:35:31 +08:00
parent c21e5da3b1
commit fadea793a1
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ old_url = 'http://old-releases.ubuntu.com/ubuntu/pool/main/g/glibc/'
def get_list(url, arch):
content = requests.get(url).content
content = str(requests.get(url).content)
return re.findall('libc6_(2\.[0-9][0-9]-[0-9]ubuntu[0-9\.]*_{}).deb'.format(arch), content)