mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
add pyside2 package (#25602)
old-commit-hash: c6b749fb96b3b6332fd850e733140357f84d53a4
This commit is contained in:
@@ -18,7 +18,7 @@ segment = int(sys.argv[2])
|
||||
frame = int(sys.argv[3])
|
||||
|
||||
url = 'https://api.commadotai.com/v1/route/'+sys.argv[1]+"/files"
|
||||
r = requests.get(url, headers={"Authorization": "JWT "+jwt})
|
||||
r = requests.get(url, headers={"Authorization": "JWT "+jwt}, timeout=10)
|
||||
assert r.status_code == 200
|
||||
print("got api response")
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ if __name__ == "__main__":
|
||||
exit(1)
|
||||
|
||||
username = sys.argv[1]
|
||||
keys = requests.get(f"https://github.com/{username}.keys")
|
||||
keys = requests.get(f"https://github.com/{username}.keys", timeout=10)
|
||||
|
||||
if keys.status_code == 200:
|
||||
Params().put("GithubSshKeys", keys.text)
|
||||
|
||||
Reference in New Issue
Block a user