Skip to content

Commit

Permalink
Remove ssl added in previous commit since can add security risks
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Nov 4, 2024
1 parent ea51ed9 commit 987b34b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/gdcef/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
###
###############################################################################

import os, sys, subprocess, hashlib, tarfile, shutil, glob, progressbar, urllib.request, ssl
import os, sys, subprocess, hashlib, tarfile, shutil, glob, progressbar, urllib.request
from platform import machine, system
from pathlib import Path
from multiprocessing import cpu_count
Expand Down Expand Up @@ -394,7 +394,6 @@ def download_cef():
rmdir("cef_binary")

# Download CEF at https://cef-builds.spotifycdn.com/index.html
ssl._create_default_https_context = ssl._create_unverified_context
URL = "https://cef-builds.spotifycdn.com/" + CEF_TARBALL
info(URL)
download(URL, CEF_TARBALL)
Expand Down

0 comments on commit 987b34b

Please sign in to comment.