Skip to content

Commit 608e938

Browse files
WillowSauceRWillowSauceR
authored andcommitted
fix proxy
1 parent 83b3b62 commit 608e938

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

send.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,12 @@ def getOptions():
3434
interval = input("Interval(sec): ")
3535
isDisplayMotd = input("Display Motd(y/n): ")
3636
proxyUsed = input("Proxy(y/n): ")
37+
proxyCountry = ""
3738
if proxyUsed == "y":
3839
try:
3940
proxyCountry = sys.argv[8]
4041
except:
41-
proxyCountry = input("ProxyCountry(like cn, ru, us): ")
42+
proxyCountry = input("ProxyCountry(like cn, ru, us or enter to use all): ")
4243
print(f"[{getTime()}] Proxy mode is under development and deprecated!")
4344
proxyUsed = True
4445
else:

0 commit comments

Comments
 (0)