fix: remove print and remove a useless style color

This commit is contained in:
starnakin 2023-05-31 15:30:31 +02:00
parent 06869df157
commit 2e34ae394f

View File

@ -47,9 +47,9 @@ def get_files_formated_by_viewing_data(database: Database, files: list, site: di
print (url) print (url)
viewing_data = database.get_viewing_data(url); viewing_data = database.get_viewing_data(url);
if (viewing_data == None) or (viewing_data.get("finished") == False): if (viewing_data == None) or (viewing_data.get("finished") == False):
out.append(colorama.Style.BRIGHT + file + colorama.Style.RESET_ALL) out.append(colorama.Style.BRIGHT + file)
else: else:
out.append(colorama.Fore.LIGHTBLACK_EX + file + colorama.Style.RESET_ALL); out.append(colorama.Fore.LIGHTBLACK_EX + file);
return (out); return (out);
def files(site:dict, path:str, database:Database, pos:int): def files(site:dict, path:str, database:Database, pos:int):