Adjusted System Diagnostic formatting

This commit is contained in:
2Shirt 2018-10-07 14:28:37 -06:00
parent 63086dcb1e
commit 3c950e3c56
2 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ def archive_all_users():
# Backup browsers for all valid users # Backup browsers for all valid users
print_info('Backing up browsers') print_info('Backing up browsers')
for fake_env in sorted(user_envs, key=itemgetter('USERPROFILE')): for fake_env in sorted(user_envs, key=itemgetter('USERPROFILE')):
print_standard(fake_env['USERNAME']) print_standard(' {}'.format(fake_env['USERNAME']))
for b_k, b_v in sorted(SUPPORTED_BROWSERS.items()): for b_k, b_v in sorted(SUPPORTED_BROWSERS.items()):
if b_k == 'Mozilla Firefox Dev': if b_k == 'Mozilla Firefox Dev':
continue continue
@ -145,7 +145,7 @@ def archive_all_users():
global_vars['Tools']['SevenZip'], global_vars['Tools']['SevenZip'],
'a', '-aoa', '-bso0', '-bse0', '-mx=1', 'a', '-aoa', '-bso0', '-bse0', '-mx=1',
archive_path, source_items] archive_path, source_items]
try_and_print(message=' {}...'.format(b_k), try_and_print(message='{}...'.format(b_k),
function=run_program, cmd=cmd) function=run_program, cmd=cmd)
print_standard(' ') print_standard(' ')

View file

@ -145,7 +145,7 @@ if __name__ == '__main__':
# Run BleachBit cleaners # Run BleachBit cleaners
print_info('BleachBit Cleanup') print_info('BleachBit Cleanup')
for k, v in sorted(BLEACH_BIT_CLEANERS.items()): for k, v in sorted(BLEACH_BIT_CLEANERS.items()):
try_and_print(message=' {}...'.format(k), try_and_print(message='{}...'.format(k),
function=run_bleachbit, function=run_bleachbit,
cs='Done', other_results=other_results, cs='Done', other_results=other_results,
cleaners=v, preview=bool(not D7_MODE)) cleaners=v, preview=bool(not D7_MODE))