mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-05 21:20:51 +00:00
updates
This commit is contained in:
parent
f3f63bee63
commit
e3be70125b
@ -177,7 +177,7 @@ MAX_POST_LEN = 1000
|
||||
MAX_MSG_LEN = 1000
|
||||
|
||||
|
||||
import os
|
||||
if not os.environ.get('KOMRADE_SHOW_LOG') or os.environ('KOMRADE_SHOW_LOG')=='0':
|
||||
import os,logging
|
||||
if not 'KOMRADE_SHOW_LOG' in os.environ or not os.environ['KOMRADE_SHOW_LOG'] or os.environ['KOMRADE_SHOW_LOG']=='0':
|
||||
logger = logging.getLogger()
|
||||
logger.propagate = False
|
Loading…
Reference in New Issue
Block a user