fix help
[rainbowstream.git] / rainbowstream / colors.py
index 5d49096a861727044b9e617268f9e6023d745499..4b8ab2c775366eea73e8a12667cb5760f4fc715e 100644 (file)
@@ -3,7 +3,6 @@ import itertools
 from functools import wraps
 from termcolor import *
 from pyfiglet import figlet_format
-from functools import reduce
 
 grey = lambda x: colored(x, 'grey', attrs=['bold'])
 red = lambda x: colored(x, 'red', attrs=['bold'])
@@ -73,11 +72,11 @@ def cycle_color(s):
     return next(cyc)(s)
 
 
-def ascii_art():
+def ascii_art(text):
     """
     Draw the Ascii Art
     """
-    fi = figlet_format('Rainbow Stream', font='doom')
+    fi = figlet_format(text, font='doom')
     print('\n'.join(
         [next(cyc)(i) for i in fi.split('\n')]
     )