mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-06-28 22:11:29 +02:00
fixShameWall
This commit is contained in:
@@ -42,7 +42,11 @@ if config.sections() == []:
|
||||
LOG_PATH = config['reporting'].get('log_path', LOG_PATH)
|
||||
W3_PATH = config['reporting'].get('w3_path', W3_PATH)
|
||||
multiLogReader = config['reporting'].getboolean('multi_log_reader', multiLogReader)
|
||||
shameWordList = config['reporting'].get('shame_word_list', shameWordList)
|
||||
# config['reporting']['shame_word_list'] is a comma-separated string
|
||||
shameWordList = config['reporting'].get('shame_word_list', '')
|
||||
if isinstance(shameWordList, str):
|
||||
shameWordList = shameWordList.split(', ')
|
||||
|
||||
|
||||
def parse_log_file(file_path):
|
||||
global log_data
|
||||
|
||||
@@ -43,7 +43,10 @@ if config.sections() == []:
|
||||
LOG_PATH = config['reporting'].get('log_path', LOG_PATH)
|
||||
W3_PATH = config['reporting'].get('w3_path', W3_PATH)
|
||||
multiLogReader = config['reporting'].getboolean('multi_log_reader', multiLogReader)
|
||||
shameWordList = config['reporting'].get('shame_word_list', shameWordList)
|
||||
# config['reporting']['shame_word_list'] is a comma-separated string
|
||||
shameWordList = config['reporting'].get('shame_word_list', '')
|
||||
if isinstance(shameWordList, str):
|
||||
shameWordList = shameWordList.split(', ')
|
||||
|
||||
|
||||
def parse_log_file(file_path):
|
||||
|
||||
Reference in New Issue
Block a user