Update erisupdate.py
Updated erisurl to have the eris.json from git.foxo.me
This commit is contained in:
parent
80d29edede
commit
8269c48d2f
|
@ -319,7 +319,8 @@ if not os.path.exists("./eris.json"):
|
||||||
|
|
||||||
# get the eris list from the web and local
|
# get the eris list from the web and local
|
||||||
http = urllib3.PoolManager()
|
http = urllib3.PoolManager()
|
||||||
erisurl = "https://eris.hitmare.me/eris.json"
|
#erisurl = "https://eris.hitmare.me/eris.json"
|
||||||
|
erisurl = "https://git.foxo.me/Hitmare/Eris-Update-script/src/branch/main/eris.json"
|
||||||
resp = http.request('GET', erisurl)
|
resp = http.request('GET', erisurl)
|
||||||
erisremote = json.loads(resp.data.decode('utf-8'))
|
erisremote = json.loads(resp.data.decode('utf-8'))
|
||||||
erislocal = json.load(open("./eris.json", "r"))
|
erislocal = json.load(open("./eris.json", "r"))
|
||||||
|
|
Loading…
Reference in New Issue