mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Print ascii art on start (#2197)
This commit is contained in:
parent
5231850d13
commit
1dd94e58cf
1 changed files with 14 additions and 0 deletions
|
|
@ -62,6 +62,19 @@ def parse_args():
|
|||
return parser.parse_args()
|
||||
|
||||
|
||||
def get_ascii_name():
|
||||
return r"""\
|
||||
_____ _ _
|
||||
/ ____| | | | |
|
||||
| (___ __ _ _ _ ___ __ _| | ___ __ ___ __| | ___
|
||||
\___ \ / _` | | | |/ _ \/ _` | |/ / '_ \ / _ \ / _` |/ _ \
|
||||
____) | (_| | |_| | __/ (_| | <| | | | (_) | (_| | __/
|
||||
|_____/ \__, |\__,_|\___|\__,_|_|\_\_| |_|\___/ \__,_|\___|
|
||||
| |
|
||||
|_|
|
||||
"""
|
||||
|
||||
|
||||
def main():
|
||||
logging.basicConfig(level=logging.ERROR)
|
||||
args = parse_args()
|
||||
|
|
@ -81,6 +94,7 @@ def main():
|
|||
|
||||
|
||||
def run_node(config):
|
||||
logger.info(get_ascii_name())
|
||||
logger.info("Config: {}".format(config))
|
||||
signal(SIGTERM, handler)
|
||||
signal(SIGINT, handler)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue