mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Simplify SF URL to manifest file
This commit is contained in:
@ -128,8 +128,7 @@ def get_api_result(path, params=None, data=None):
|
||||
if path == "/packages":
|
||||
r = requests.get(
|
||||
"https://sourceforge.net/projects/platformio-storage/files/"
|
||||
"packages/manifest.json/download",
|
||||
params=params, headers=headers)
|
||||
"packages/manifest.json", params=params, headers=headers)
|
||||
elif data:
|
||||
r = requests.post(__apiurl__ + path, params=params, data=data,
|
||||
headers=headers)
|
||||
|
Reference in New Issue
Block a user