Get colors back, remove logged string
This commit is contained in:
1 parent
12c08154c5
commit
11aaaecb7b
2 files changed
+4
No files matched your search
@@ -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,
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user