Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-03-17 09:43:37 +02:00
parent b7c33ad523
commit da3320290c

View file

@ -296,7 +296,7 @@ class Argparse(Configs):
if args[0] == '-' and args[:2] != '--' and len(args) >= 3 and '=' not in args:
self.args.remove(args)
for opt in list(map(lambda item: f'-{item}', [arg for arg in list(args[1:])])):
for opt in list(map(lambda x: f'-{x}', [arg for arg in list(args[1:])])):
if opt in self.commands.keys():
self.args.insert(0, opt)
continue