mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-10-01 03:43:42 +08:00
use gitee ip to check online status
This commit is contained in:
@@ -366,7 +366,7 @@ def main(gctx=None):
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
# try network
|
# try network
|
||||||
ping_failed = subprocess.call(["ping", "-W", "4", "-c", "1", "8.8.8.8"])
|
ping_failed = subprocess.call(["ping", "-W", "4", "-c", "1", "117.28.245.92"])
|
||||||
|
|
||||||
if not ping_failed:
|
if not ping_failed:
|
||||||
# download application update
|
# download application update
|
||||||
|
|||||||
Reference in New Issue
Block a user