def clean_line(time, project, log):
    """Cleans line data from unnecessary chars"""
    time = time[:-1]
    if project and project[-1] == '\n':
        project = project[:-1]
    if log and log[-1] == '\n':
        log = log[:-1]
    return time, project, log
