From c782acdb626faffb92d542f593cdfd7d540627f3 Mon Sep 17 00:00:00 2001 From: Dazed Date: Wed, 5 Apr 2023 17:06:07 -0500 Subject: [PATCH] fix: Some printing errors --- main.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index 61baf2d..84030d9 100644 --- a/main.py +++ b/main.py @@ -47,12 +47,10 @@ def handle(filename): # Print Results end = time.time() - print(f.name + ':', end=' ') - print(Fore.GREEN + str(round(end - start, 1)) + 's ' + u'\u2713' + Fore.RESET) + print(f.name + ': ' + Fore.GREEN + str(round(end - start, 1)) + 's ' + u'\u2713' + Fore.RESET) except Exception as e: end = time.time() - print(f.name + ':', end=' ') - print(Fore.RED + str(round(end - start, 1)) + 's ' + u'\u2717 ' + str(e) + Fore.RESET) + print(f.name + ': ' + Fore.RED + str(round(end - start, 1)) + 's ' + u'\u2717 ' + str(e) + Fore.RESET) def parseMap(data, filename): with ThreadPoolExecutor(max_workers=THREADS, thread_name_prefix='parseMap') as executor: @@ -77,7 +75,6 @@ def searchCodes(page, filename): maxHistory = 10 # The higher this number is, the better the translation, the more money you are going to pay :) try: for i in tqdm(range(len(page['list'])), leave=False, position=0, desc=filename): - # Translating Code: 401 if page['list'][i]['code'] == 401: currentGroup.append(page['list'][i]['parameters'][0])