mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update system_api.py
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user