Get colors back, remove logged string

This commit is contained in:
Ruud
2014-03-12 21:47:07 +01:00
parent 12c08154c5
commit 11aaaecb7b
2 changed files with 4 additions and 0 deletions

View File

@@ -146,6 +146,9 @@ class Loader(object):
self.modules[priority] = {}
module = module.lstrip('.')
if plugin_type.startswith('couchpotato_core'):
plugin_type = plugin_type[17:]
self.modules[priority][module] = {
'priority': priority,
'module': module,

View File

@@ -178,6 +178,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
logger.addHandler(hdlr2)
# Start logging & enable colors
import color_logs
from couchpotato.core.logger import CPLog
log = CPLog(__name__)
log.debug('Started with options %s', options)