Update erisupdate.py

Updated erisurl to have the eris.json from git.foxo.me
This commit is contained in:
Hitmare 2023-11-11 14:29:48 +00:00
parent 80d29edede
commit 8269c48d2f
1 changed files with 422 additions and 421 deletions

View File

@ -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"))