Fixed a bug which did not allow the value 'all' for the argument '-p/--platform'

master
Marcus Bakker 2020-10-30 21:23:15 +01:00
parent 52a3f77ced
commit 386e9c7178
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ def _platform_lookup():
Lookup the platform value with the correct capitalisation. Lookup the platform value with the correct capitalisation.
return: lambda function to be used by argparse type= return: lambda function to be used by argparse type=
""" """
return lambda p: PLATFORMS.get(p.lower(), '') return lambda p: PLATFORMS.get(p.lower(), '') if p.lower() != 'all' else 'all'
def _prepare_folders(): def _prepare_folders():