mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 10:04:12 +08:00
proxy
This commit is contained in:
parent
9a3b3447be
commit
8bde9bc798
@ -21,7 +21,7 @@ def getvesionmethod():
|
|||||||
res = requests.get(
|
res = requests.get(
|
||||||
dynamiclink("{main_server}/version"),
|
dynamiclink("{main_server}/version"),
|
||||||
verify=False,
|
verify=False,
|
||||||
# proxies=getproxy(("github", "versioncheck")),
|
proxies=getproxy(("github", "versioncheck")),
|
||||||
)
|
)
|
||||||
print(res.text)
|
print(res.text)
|
||||||
res = res.json()
|
res = res.json()
|
||||||
@ -310,7 +310,7 @@ def setTab_update(self, basel):
|
|||||||
makehtml("{docs_server}/"),
|
makehtml("{docs_server}/"),
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
if getlanguse() == 'zh':
|
if getlanguse() == "zh":
|
||||||
shuominggrid += [
|
shuominggrid += [
|
||||||
[
|
[
|
||||||
"交流群",
|
"交流群",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user