fix #44
This commit is contained in:
parent
847ca06070
commit
025deea3aa
@ -17,11 +17,13 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
from anki.hooks import addHook
|
from anki.hooks import addHook
|
||||||
from anki.utils import isMac
|
from anki.utils import isMac
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
############## other config here ##################
|
############## other config here ##################
|
||||||
shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q'
|
shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q'
|
||||||
|
|||||||
@ -17,11 +17,13 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import ssl
|
||||||
import sys
|
import sys
|
||||||
from anki.hooks import addHook
|
from anki.hooks import addHook
|
||||||
from anki.utils import isMac
|
from anki.utils import isMac
|
||||||
|
|
||||||
sys.dont_write_bytecode = True
|
sys.dont_write_bytecode = True
|
||||||
|
ssl._create_default_https_context = ssl._create_unverified_context
|
||||||
|
|
||||||
############## other config here ##################
|
############## other config here ##################
|
||||||
shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q'
|
shortcut = ('Ctrl+Alt' if isMac else 'Ctrl') + '+Q'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user