Update system_api.py

This commit is contained in:
midoks 2021-11-12 19:33:38 +08:00
parent b6c8c0b3a7
commit bdd80a0911
1 changed files with 1 additions and 0 deletions

View File

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