diff options
author | Simon Williams | 2022-04-21 21:38:59 +0200 |
---|---|---|
committer | Simon Williams | 2022-04-21 21:41:33 +0200 |
commit | 8ac2247117bef6994e3023d7138aba42b0073d45 (patch) | |
tree | a8dcf6e29d409126afc50e873b600548b42b6eb0 | |
parent | 78bc1db7a89f1cedbd19af6f49e48e3777eb0a0c (diff) | |
download | aur-8ac2247117bef6994e3023d7138aba42b0073d45.tar.gz |
Fixed server timeout print
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rwxr-xr-x | nordquery.py | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = nordquery pkgdesc = A tool to choose NordVPN servers based on filters, written in Python pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/simonpw/nordquery arch = any license = GPL @@ -1,7 +1,7 @@ # Maintainer: Simon Williams <simon@clockcycles.net> pkgname=nordquery pkgver=1.0 -pkgrel=1 +pkgrel=2 epoch= pkgdesc="A tool to choose NordVPN servers based on filters, written in Python" arch=(any) diff --git a/nordquery.py b/nordquery.py index efd7669d79f4..500fbe78b4c0 100755 --- a/nordquery.py +++ b/nordquery.py @@ -217,7 +217,7 @@ def main(argv): print(server[0].split('.')[0]) if(args.verbose): print('Ping:', pinged, 'ms') break - else: + elif(args.verbose): print(server[0], 'timed out') else: if(args.verbose): print('No matching server found') |