Skip to content

Commit 4db55da

Browse files
committed
fix: 国内包地址错误
1 parent 85fc731 commit 4db55da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ def PackagesAirM2M():
253253
data['websiteURL'] = "https://arduino.luatos.com"
254254
data['email'] = "[email protected]"
255255
data['help'] = {'online': "https://arduino.luatos.com"}
256+
dataCn = data.copy()
256257
platforms = []
257258
platformsCn = []
258259

@@ -262,6 +263,7 @@ def PackagesAirM2M():
262263
platforms.append(temp)
263264
platformsCn.append(tempCn)
264265
data['platforms'] = platforms
266+
dataCn['platforms'] = platformsCn
265267
tools = []
266268
toolsCn = []
267269

@@ -278,7 +280,6 @@ def PackagesAirM2M():
278280
toolsCn.append(tempCn)
279281

280282
data['tools'] = tools
281-
dataCn = data.copy()
282283
dataCn['tools'] = toolsCn
283284
return data, dataCn
284285

0 commit comments

Comments
 (0)