From 4f8f1d388f43961a11d3f6a652d4ea93c497c65a Mon Sep 17 00:00:00 2001 From: desimaniac Date: Sat, 14 Jul 2018 15:26:59 -0500 Subject: [PATCH 1/2] Banner: Updated to use pyfiglet module instead. - Does not require figlet binaries to be installed. --- traktarr.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/traktarr.py b/traktarr.py index 6135d98..c8ffb82 100755 --- a/traktarr.py +++ b/traktarr.py @@ -7,6 +7,8 @@ import time import click import schedule +from pyfiglet import Figlet + ############################################################ # INIT ############################################################ @@ -863,15 +865,13 @@ def exit_handler(signum, frame): ############################################################ if __name__ == "__main__": - print(""" - __ __ __ - _/ |_____________ | | ___/ |______ ______________ - \ __\_ __ \__ \ | |/ /\ __\__ \\_ __ \_ __ \ - | | | | \// __ \| < | | / __ \| | \/| | \/ - |__| |__| (____ /__|_ \ |__| (____ /__| |__| - \/ \/ \/ + print("") + f = Figlet(font='graffiti') + print(f.renderText('traktarr')) + + print(""" ######################################################################### # Author: l3uddz # # URL: https://github.com/l3uddz/traktarr # From 2f7a466db412effaf084d9bb7d07ffb061a7dd96 Mon Sep 17 00:00:00 2001 From: desimaniac Date: Sat, 14 Jul 2018 15:31:09 -0500 Subject: [PATCH 2/2] Requirements: Added pyfiglet. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index b865c62..753a7c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ schedule==0.5.0 attrdict==2.0.0 click==6.7 requests~=2.18.4 +pyfiglet