Get colors back, remove logged string

This commit is contained in:
Ruud committed 2014-03-12 21:47:07 +01:00
1 parent 12c08154c5
commit 11aaaecb7b
2 files changed
+4

No files matched your search

+3
View File
@@ -146,6 +146,9 @@ class Loader(object):
self.modules[priority] = {} self.modules[priority] = {}
module = module.lstrip('.') module = module.lstrip('.')
if plugin_type.startswith('couchpotato_core'):
plugin_type = plugin_type[17:]
self.modules[priority][module] = { self.modules[priority][module] = {
'priority': priority, 'priority': priority,
'module': module, 'module': module,
+1
View File
@@ -178,6 +178,7 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
logger.addHandler(hdlr2) logger.addHandler(hdlr2)
# Start logging & enable colors # Start logging & enable colors
import color_logs
from couchpotato.core.logger import CPLog from couchpotato.core.logger import CPLog
log = CPLog(__name__) log = CPLog(__name__)
log.debug('Started with options %s', options) log.debug('Started with options %s', options)