Logical miss on if statement.

This commit is contained in:
Anton Hvornum 2018-06-06 17:15:04 +02:00 committed by GitHub
parent 96b8669b0a
commit 3ff1e2e6cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -257,10 +257,11 @@ if __name__ == '__main__':
for key, val in instructions['args'].items():
args[key] = val
## TODO: Reuseable code, there's to many get_instructions, merge_dictgs and args updating going on.
## Update arguments if we found any
for key, val in instructions['args'].items():
args[key] = val
if 'args' in instructions:
## TODO: Reuseable code, there's to many get_instructions, merge_dictgs and args updating going on.
## Update arguments if we found any
for key, val in instructions['args'].items():
args[key] = val
if args['password'] == '<STDIN>': args['password'] = input('Enter a disk (and root) password: ')
print(args)