Skip to content
Snippets Groups Projects
Commit 48596f9d authored by ferrari's avatar ferrari
Browse files

Fix text formatting

parent 2e736028
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment