Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wetw0rk committed Nov 24, 2019
1 parent 318ac5c commit 22426a4
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions Sickle/modules/dev/deps.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@ def argument_check(module_arguments, user_arguments):
ulist = []
fails = ""
check = 0

for i in range(len(user_arguments)):
arg = user_arguments[i].split('=')[0]
var = user_arguments[i].split('=')[1]
ulist += arg,
adict[arg] = var

try:
for i in range(len(user_arguments)):
arg = user_arguments[i].split('=')[0]
var = user_arguments[i].split('=')[1]
ulist += arg,
adict[arg] = var
except:
print("Error parsing arguments")
sys.exit(-1)

for i in range(len(module_arguments)):
if module_arguments[i] not in ulist:
Expand Down

0 comments on commit 22426a4

Please sign in to comment.