diff options
Diffstat (limited to 'pyload/utils/printer.py')
-rw-r--r-- | pyload/utils/printer.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pyload/utils/printer.py b/pyload/utils/printer.py deleted file mode 100644 index 5d333e238..000000000 --- a/pyload/utils/printer.py +++ /dev/null @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- -# @author: vuolter - -import colorama - -colorama.init(autoreset=True) - -def color(color, text): - return colorama.Fore.(c.upper())(text) - -for c in colorama.Fore: - eval("%(color) = lambda msg: color(%(color), msg)" % {'color': c.lower()} - - -def overline(line, msg): - print "\033[%(line)s;0H\033[2K%(msg)s" % {'line': str(line), 'msg': msg} |