mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update system_api.py
This commit is contained in:
@@ -622,6 +622,7 @@ class system_api:
|
||||
|
||||
req = urllib.request.urlopen(upAddr, 3)
|
||||
result = req.read().decode('utf-8')
|
||||
print(result)
|
||||
version = json.loads(result)
|
||||
return version[0]
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user