Skip to content

Commit

Permalink
Update dank.tool.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SirDank committed Dec 9, 2023
1 parent effe8b7 commit 871dcd1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions __src__/dank.tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def dank_tool_installer():

# print randomly coloured and aligned banner

def print_banner():
def dank_tool_banner():

banner = '\n .. .. s .. \n dF < .z@8"` :8 x .d88" \n\'88bu. u. u. !@88E .88 u. u. 5888R \n\'*88888bu u x@88k u@88c. \'888E u :888ooo ...ue888b ...ue888b \'888R \n ^"*8888N us888u. ^"8888""8888" 888E u@8NL -*8888888 888R 888r 888R 888r 888R \n beWE "888L .@88 "8888" 8888 888R 888E`"88*" 8888 888R 888> 888R 888> 888R \n 888E 888E 9888 9888 8888 888R 888E .dN. 8888 888R 888> 888R 888> 888R \n 888E 888E 9888 9888 8888 888R 888E~8888 8888 888R 888> 888R 888> 888R \n 888E 888F 9888 9888 8888 888R 888E \'888& . .8888Lu= u8888cJ888 u8888cJ888 888R \n.888N..888 9888 9888 "*88*" 8888" 888E 9888. .@8c ^%888* "*888*P" "*888*P" .888B . \n `"888*"" "888*""888" "" \'Y" \'"888*" 4888" \'%888" \'Y" \'Y" \'Y" ^*888% \n "" ^Y" ^Y\' "" "" ^* "% \n'
cls(); print(align(clr(banner,4,colours=[white, white_normal, red, red, red, red, red_normal, red_dim]) + f"\n{white}s i r {red}. {white}d a n k {red}💕"))
Expand Down Expand Up @@ -138,7 +138,7 @@ def download_assets(url, file_name):

def print_modules():

print_banner(); print(clr(f"\n - Modules:{stats}") + red + ('' if ONLINE_MODE else ' OFFLINE') + ('' if not OFFLINE_SRC else ' DEBUG') + ('' if not DEV_BRANCH else ' ONLINE DEBUG') + "\n")
dank_tool_banner(); print(clr(f"\n - Modules:{stats}") + red + ('' if ONLINE_MODE else ' OFFLINE') + ('' if not OFFLINE_SRC else ' DEBUG') + ('' if not DEV_BRANCH else ' ONLINE DEBUG') + "\n")
user_renderables = []
console = Console()
counter = 1
Expand All @@ -163,7 +163,7 @@ def print_modules():

def print_category_modules(modules):

print_banner(); print(clr(f"\n - Modules:{stats}") + red + ('' if ONLINE_MODE else ' OFFLINE') + ('' if not OFFLINE_SRC else ' DEBUG') + ('' if not DEV_BRANCH else ' ONLINE DEBUG') + "\n")
dank_tool_banner(); print(clr(f"\n - Modules:{stats}") + red + ('' if ONLINE_MODE else ' OFFLINE') + ('' if not OFFLINE_SRC else ' DEBUG') + ('' if not DEV_BRANCH else ' ONLINE DEBUG') + "\n")
user_renderables = []
console = Console()
counter = 1
Expand Down Expand Up @@ -572,7 +572,7 @@ def translate(text):
choice = local_modules[list(local_modules.keys())[int(choice) - len(modules) - 1]]
LOCAL_MODULE = True

if choice['category']:
if not LOCAL_MODULE and choice['category']:

print_category_modules(choice)

Expand Down

0 comments on commit 871dcd1

Please sign in to comment.