Update system_api.py

This commit is contained in:
midoks 2021-11-12 19:45:38 +08:00
parent 7a6848a4d9
commit e4fa6817ab
1 changed files with 1 additions and 0 deletions

View File

@ -615,6 +615,7 @@ class system_api:
def getServerInfo(self):
import urllib.request
import ssl
upAddr = 'https://raw.githubusercontent.com/midoks/mdserver-web/master/version/info.json'
try:
# requests.adapters.DEFAULT_RETRIES = 2