diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-07 23:22:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-07 23:22:36 -0300 |
commit | fd73aef79ac834a035ab6840309f9cafa3dca1ac (patch) | |
tree | 15285e42c7b2d0bf56e4ddd16eacf87cce919a75 /game/misc.rpy | |
parent | 0f7ba81abe56d9ea8c1a19b43fa9880627419f71 (diff) | |
download | client-fd73aef79ac834a035ab6840309f9cafa3dca1ac.tar.gz client-fd73aef79ac834a035ab6840309f9cafa3dca1ac.tar.bz2 client-fd73aef79ac834a035ab6840309f9cafa3dca1ac.tar.xz client-fd73aef79ac834a035ab6840309f9cafa3dca1ac.zip |
cacert is broken on Android; Requests is unable to verify certs.
Not a problem, just make sure you NEVER try to validate the cert!!
Diffstat (limited to 'game/misc.rpy')
-rw-r--r-- | game/misc.rpy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/misc.rpy b/game/misc.rpy index eb1c47a..78bd6c3 100644 --- a/game/misc.rpy +++ b/game/misc.rpy @@ -394,7 +394,7 @@ init python: global pat, statusmsg, progress, max_value, status try: print("Fetching http://%s/assets%s ..." % (persistent.host, pat)) - r = requests.get("http://%s/assets%s" % (persistent.host, pat), stream=True) + r = requests.get("http://%s/assets%s" % (persistent.host, pat), verify=False, stream=True) if r.status_code / 100 != 2: raise Exception("Aborted with status %d" % r.status_code) @@ -471,7 +471,7 @@ label download_all: python: ## Where the zip file is located? try: - x = requests.get("http://%s/assets/fetch.txt" % persistent.host, timeout=8.0) + x = requests.get("http://%s/assets/fetch.txt" % persistent.host, verify=False, timeout=8.0) assert x.status_code == 200, "Status Code Error" print "%s" % str(x.text) pat = x.text.split("#")[0] |