summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/classes.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/classes.py b/lib/classes.py
index c285828..c4e60e7 100644
--- a/lib/classes.py
+++ b/lib/classes.py
@@ -1,11 +1,5 @@
import redis, socket, os
-RED = '\033[91m'
-YELLOW = '\033[93m'
-GREY = '\033[90m'
-BLACK = '\033[0m'
-BOLD = '\033[1m'
-
try:
from .config import config as co
except:
@@ -13,6 +7,12 @@ except:
r = redis.Redis(host=co['host'], port=co['port'], unix_socket_path=co['unix_socket_path'], db=co['db'])
+RED = '\033[91m'
+YELLOW = '\033[93m'
+GREY = '\033[90m'
+BLACK = '\033[0m'
+BOLD = '\033[1m'
+
def clear():
"""
clear the window