From 166aac31c74e7ca94f9edf6477262d81bf5e3e09 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Wed, 12 Jun 2019 02:36:04 +0100 Subject: [PATCH] Fix --- .idea/workspace.xml | 36 ++++++++++++++++++++++++++---------- pyvpn | 3 +++ 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 6a95b2e..caab9fc 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,15 @@ - + + + + + + + + + @@ -54,7 +63,7 @@ - + + @@ -132,15 +142,14 @@ - - + - + @@ -215,8 +224,15 @@ - - + + + + + + + + + diff --git a/pyvpn b/pyvpn index 88f2b7e..29158c9 100755 --- a/pyvpn +++ b/pyvpn @@ -25,8 +25,11 @@ if len(sys.argv) > 2: configFilePath = operatingDir + "/" + clientName + ".ovpn" fScript.expect("[1-4]:") + fScript.sendline("1") + fScript.expect("Client name: ") + fScript.sendline(clientName) fScript.kill(0)