Change protonvpn command
This commit is contained in:
parent
131dbec7c9
commit
53f75064d3
1 changed files with 1 additions and 2 deletions
|
@ -11,9 +11,8 @@ from protonvpn_cli import utils as pvpn_utils # type: ignore
|
||||||
|
|
||||||
|
|
||||||
if os.environ.get("BLOCK_BUTTON") is not None:
|
if os.environ.get("BLOCK_BUTTON") is not None:
|
||||||
# print("Connecting...")
|
|
||||||
vpn_command = subprocess.run(
|
vpn_command = subprocess.run(
|
||||||
"sudo protonvpn c -f", check=True, shell=True
|
"sudo protonvpn r", check=True, shell=True
|
||||||
)
|
)
|
||||||
|
|
||||||
IP_ADDR = pvpn_utils.get_ip_info()[0]
|
IP_ADDR = pvpn_utils.get_ip_info()[0]
|
||||||
|
|
Loading…
Add table
Reference in a new issue