Skip to content

Commit

Permalink
Fix grammars, update dependency for Indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon2fly committed Feb 14, 2017
1 parent 9a4815c commit 04567fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Except *python 2.7.x*, all below dependencies should be automatically installed

### 0. Pre-installation
* If your network is behind a proxy

```Shell
$ export http_proxy="http://your_proxy:your_port"
$ export https_proxy="http://your_proxy:your_port"
Expand All @@ -55,6 +56,7 @@ Except *python 2.7.x*, all below dependencies should be automatically installed
### 1. Installation:

Using *git*:

```Shell
$ sudo apt-get install git
$ git clone https://github.com/Dragon2fly/vpngate-with-proxy.git
Expand Down
2 changes: 1 addition & 1 deletion vpn_indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def callback(self):
time.sleep(1)

if satisfied:
another_me = Popen(['pgrep', '-f', '"python vpn_indicator.py"'], stdout=PIPE).communicate()[0]
another_me = Popen('pgrep -f "python vpn_indicator.py"'.split(), stdout=PIPE).communicate()[0]
another_me = another_me.strip().split('\n')

if len(another_me) > 1:
Expand Down

0 comments on commit 04567fc

Please sign in to comment.