aboutsummaryrefslogtreecommitdiff
path: root/gantools/ganbreeder.py
diff options
context:
space:
mode:
Diffstat (limited to 'gantools/ganbreeder.py')
-rw-r--r--gantools/ganbreeder.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gantools/ganbreeder.py b/gantools/ganbreeder.py
index 22d1adf..05cd7b9 100644
--- a/gantools/ganbreeder.py
+++ b/gantools/ganbreeder.py
@@ -2,6 +2,11 @@
import requests
import json
+#fix:
+# urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)>
+import urllib
+urllib.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
+
def login(username, password):
def get_sid():
url = 'https://ganbreeder.app/login'