See if we can mollify CodeQL

This commit is contained in:
Kovid Goyal
2021-08-16 22:53:46 +05:30
parent f0e7344bc8
commit f67995d5d3
2 changed files with 4 additions and 4 deletions

View File

@@ -185,10 +185,10 @@ class Freeze(object):
def add_ca_certs(self):
print('\nDownloading CA certs...')
from urllib.request import urlopen
certs = urlopen(kitty_constants['cacerts_url']).read()
cdata = urlopen(kitty_constants['cacerts_url']).read()
dest = os.path.join(self.contents_dir, 'Resources', 'cacert.pem')
with open(dest, 'wb') as f:
f.write(certs)
f.write(cdata)
@flush
def strip_files(self):