mirror of
https://github.com/karl0ss/GoGoDownloader.git
synced 2025-04-26 19:49:23 +01:00
Update bitanime.py
Fixed issues with colorama not displaying correctly
This commit is contained in:
parent
d1c222ff91
commit
187983b348
@ -8,10 +8,9 @@ from tqdm.contrib.concurrent import thread_map
|
|||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from colorama import Fore
|
from colorama import Fore
|
||||||
|
|
||||||
colorama.init(autoreset=True)
|
OK = f"{Fore.RESET}[{Fore.GREEN}+{Fore.RESET}] "
|
||||||
OK = f"[{Fore.GREEN}+{Fore.RESET}] "
|
ERR = f"{Fore.RESET}[{Fore.RED}-{Fore.RESET}] "
|
||||||
ERR = f"[{Fore.RED}-{Fore.RESET}] "
|
IN = f"{Fore.RESET}[{Fore.LIGHTBLUE_EX}>{Fore.RESET}] "
|
||||||
IN = f"[{Fore.LIGHTBLUE_EX}>{Fore.RESET}] "
|
|
||||||
try:
|
try:
|
||||||
ctypes.windll.kernel32.SetConsoleTitleW("BitAnime")
|
ctypes.windll.kernel32.SetConsoleTitleW("BitAnime")
|
||||||
except (AttributeError):
|
except (AttributeError):
|
||||||
@ -19,6 +18,7 @@ except (AttributeError):
|
|||||||
|
|
||||||
|
|
||||||
def bitanime():
|
def bitanime():
|
||||||
|
os.system("cls")
|
||||||
while True:
|
while True:
|
||||||
print(
|
print(
|
||||||
f""" {Fore.LIGHTBLUE_EX}
|
f""" {Fore.LIGHTBLUE_EX}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user