fix: remove print and remove a useless style color
This commit is contained in:
parent
06869df157
commit
2e34ae394f
4
menu.py
4
menu.py
@ -47,9 +47,9 @@ def get_files_formated_by_viewing_data(database: Database, files: list, site: di
|
||||
print (url)
|
||||
viewing_data = database.get_viewing_data(url);
|
||||
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:
|
||||
out.append(colorama.Fore.LIGHTBLACK_EX + file + colorama.Style.RESET_ALL);
|
||||
out.append(colorama.Fore.LIGHTBLACK_EX + file);
|
||||
return (out);
|
||||
|
||||
def files(site:dict, path:str, database:Database, pos:int):
|
||||
|
Loading…
Reference in New Issue
Block a user