Skip to content

Commit

Permalink
Pushed by gbuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Middleton committed Sep 11, 2017
1 parent 8280ca4 commit 966f72b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gaze-control/gazectl/gazectl.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def __init__(self, args, config):
sys.exit(1)

def __call__(self):
print(self.helpers.print_ascii_banner())
print(self.helpers.ascii_banner())

self.log("Welcome to GAZE! Let's prepare your system...", 'info')

Expand Down Expand Up @@ -338,7 +338,7 @@ def main():
parser = argparse.ArgumentParser(
prog="gaze",
formatter_class=argparse.RawDescriptionHelpFormatter,
description=helpers.print_ascii_banner()
description=helpers.ascii_banner()
)

# Top-level arguments.
Expand Down
5 changes: 3 additions & 2 deletions gaze-control/gazectl/gazelib/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __init__(self):
self.log = GazeLog()

@staticmethod
def print_ascii_banner():
def ascii_banner():
banner = colored(r'''
__ .-.
.-"` .`'. /\\|
Expand All @@ -38,7 +38,8 @@ def print_ascii_banner():
////~ //~\\
==`==` ==` ==`''', 'magenta')

banner += colored(r''' ██████╗ █████╗ ███████╗ ███████╗
banner += colored(r'''
██████╗ █████╗ ███████╗ ███████╗
██╔════╝ ██╔══██╗ ╚══███╔╝ ██╔════╝
██║ ███╗ ███████║ ███╔╝ █████╗
██║ ██║ ██╔══██║ ███╔╝ ██╔══╝
Expand Down

0 comments on commit 966f72b

Please sign in to comment.