diff --git a/gsrp_tdoa_hyperres.py b/gsrp_tdoa_hyperres.py index 731735ee66fe4a9a9e210f504181670fd884db63..87d114e4143470ab984fa93ad8ff88210cd4fa77 100755 --- a/gsrp_tdoa_hyperres.py +++ b/gsrp_tdoa_hyperres.py @@ -341,9 +341,9 @@ if __name__ == "__main__": f'reducing the number of tdoa to evaluate.\n' f'{BColors.BOLD}auto{BColors.ENDC} automatically try to pick the right method.') group4.add_argument('-q', '--quota', type=parse_mem_size, default=np.infty, - help='Memory limit in bytes for the {BColors.BOLD}smart{BColors.ENDC} method. If hit, halt the ' - 'computation of the current frame and skip to the next one. Note that it does not account ' - 'for other memory usage, such as the sound data. Can be a unit such as GB, GiO, Ko, ...') + help=f'Memory limit in bytes for the {BColors.BOLD}smart{BColors.ENDC} method. If hit, halt the ' + f'computation of the current frame and skip to the next one. Note that it does not account ' + f'for other memory usage, such as the sound data. Can be a unit such as GB, GiO, Ko, ...') group4.add_argument('-v', '--verbose', action='store_true', help='Activate verbose for smart mode') args = parser.parse_args() @@ -358,5 +358,5 @@ if __name__ == "__main__": if trace is not None: if trace(): raise e from None - print(f'{BColors.WARNING}{type(e).__name__}: {e}{BColors.WARNING}') + print(f'{BColors.WARNING}{type(e).__name__}: {e}{BColors.ENDC}') sys.exit(2)