Skip to content

Commit 1a549f2

Browse files
committed
fix: ssl certificate
1 parent 375bb5e commit 1a549f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gamejoltapi.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
import ssl as _ssl
2+
13
from urllib.parse import urlencode as _urlencode, quote as _quote
24
from urllib.request import urlopen as _urlopen
35
from hashlib import md5 as _md5
4-
56
from ast import literal_eval as _literal_eval
67
from collections import OrderedDict as _OrderedDict
78

89
_DEBUG = False
10+
_ssl._create_default_https_context = _ssl._create_unverified_context
11+
912

1013
class GameJoltDataRequired(Exception):
1114
""" Exception raised when not all required data is provided in the request call.

0 commit comments

Comments
 (0)