summaryrefslogtreecommitdiff
path: root/lib/classes.py
diff options
context:
space:
mode:
authorSanto Cariotti <sancn@live.com>2017-07-30 08:39:04 +0200
committerSanto Cariotti <sancn@live.com>2017-07-30 08:39:04 +0200
commit3c56e99ea4166d7be39edc59ee77dd488fe933a4 (patch)
tree73e12e68a987486930ac33396aa67ddcbdd9d89c /lib/classes.py
parentefda27de3207e3471e2620d72487cdfcea8dd55e (diff)
imports are on the top
Diffstat (limited to 'lib/classes.py')
-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