From 6722e510c722275ccf373c4bbc5993f43351ca50 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Tue, 4 Aug 2020 23:08:33 +0200 Subject: [PATCH] Removed unused lib --- lib/input.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 lib/input.py diff --git a/lib/input.py b/lib/input.py deleted file mode 100644 index d5690f7..0000000 --- a/lib/input.py +++ /dev/null @@ -1,10 +0,0 @@ -import sys - -def getValueOfKey(key): # get the value of an input key, example: -c {VALUE} - for i in sys.argv: - if( i == key ): - return sys.argv[sys.argv.index(key) + 1] - return -1 # if no value was found return -1 - -def inputHasKeys(keyList): - return all(key in sys.argv for key in keyList)