Remove whitelisted space as it is no longer necessary

This commit is contained in:
Kristóf Tóth 2018-09-02 16:10:41 +02:00
parent e090626b28
commit fee4bcb24d
1 changed files with 2 additions and 2 deletions

4
cli.py
View File

@ -47,8 +47,8 @@ if __name__ == '__main__':
if args.separator in args.disallow: if args.separator in args.disallow:
sys.exit('Disallowing your chosen separator makes no sense!') sys.exit('Disallowing your chosen separator makes no sense!')
# declare special characters that will not be removed (spaces are handled elsewhere) # declare special characters that will not be removed
whitelist = {' ', '.', '-'} whitelist = {'.', '-'}
if args.whitelist: if args.whitelist:
whitelist = set(args.whitelist.split()) whitelist = set(args.whitelist.split())