diff --git a/.idea/workspace.xml b/.idea/workspace.xml index caab9fc..94ccdf2 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,12 +2,7 @@ - - - - - - + + - + @@ -231,8 +227,8 @@ - - + + diff --git a/pyvpn b/pyvpn index 29158c9..8cd426f 100755 --- a/pyvpn +++ b/pyvpn @@ -24,13 +24,11 @@ if len(sys.argv) > 2: configFilePath = operatingDir + "/" + clientName + ".ovpn" - fScript.expect("[1-4]:") - + fScript.expect(".*[1-4]:") fScript.sendline("1") - - fScript.expect("Client name: ") - + fScript.expect(".*name:") fScript.sendline(clientName) + fScript.expect(".*") fScript.kill(0)