• Markus Böhme's avatar
    Fix loading of additional_data column from log database · d9ab39b0
    Markus Böhme authored
    Currently, the additional_data column is not correctly loaded from the
    log database in the logger module's methods get_last_conversation_lines
    and get_conversation_for_date. While the JSON data in the column is
    parsed, the parsed value is not saved, because the code assumes that
    changes to a loop variable are reflected in the list that is iterated
    over. Instead, the unparsed JSON string is returned. Fix this by building
    a separate list with the JSON string replaced by the parsed JSON object.
    d9ab39b0
logger.py 43.4 KB