ANSI color.

This commit is contained in:
limkokhole
2022-01-23 13:08:25 +08:00
parent 0201f41da9
commit 93df8e250b

View File

@@ -1325,7 +1325,7 @@ def update_all( arg_thread_max :int, arg_cut :int, arg_rescrape :bool):
continue
#if info['cd'] == 2:
# print('THIS board can use bcoz no username!')
print('\n' + ANSI_BLUE + '[U] Updating [ ' + str(real_run_index) + ' / ' + str(pre_calc_total) + ' ] \n' + ANSI_END_COLOR + ANSI_BLUE + '[U] Changed to directory: ' + str(dir_origin) + '\x1b[0m\x1b[K')
print('\n' + ANSI_BLUE + '[U] Updating [ ' + str(real_run_index) + ' / ' + str(pre_calc_total) + ' ] \n' + ANSI_END_COLOR + ANSI_BLUE + '[U] Changed to directory: ' + str(dir_origin) + ANSI_END_COLOR)
real_run_index+=1
input_url = info['url']
#print('run URL:' + input_url)