def get_source_path(path):
    """
    If the path is for the .pyc, then removes the character 'c'.
    :param path: string
    :return: corrected path
    """
    if path[-1] == 'c':
        return path[:-1]
    return path