diff --git a/addons/FastWQ.py b/addons/FastWQ.py index 5e9a558..4be5613 100644 --- a/addons/FastWQ.py +++ b/addons/FastWQ.py @@ -17,11 +17,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +import ssl import sys from anki.hooks import addHook from anki.utils import isMac sys.dont_write_bytecode = True +ssl._create_default_https_context = ssl._create_unverified_context ############## other config here ################## shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q' diff --git a/addons21/fastwq/__init__.py b/addons21/fastwq/__init__.py index 738b626..e99dbc6 100644 --- a/addons21/fastwq/__init__.py +++ b/addons21/fastwq/__init__.py @@ -17,11 +17,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +import ssl import sys from anki.hooks import addHook from anki.utils import isMac sys.dont_write_bytecode = True +ssl._create_default_https_context = ssl._create_unverified_context ############## other config here ################## shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q'