

@expose('/<id>/scorm_authentication.zip')
def scorm_authentication(self, id):
    lt = self.session.query(LearningTool).filter_by(id=id).one()
    if lt.basic_http_authentications:
        url = (lt.basic_http_authentications[0].lt_url or '')
    else:
        url = ''
    return get_authentication_scorm(url)

dataset/ETHPy150Open gateway4labs/labmanager/labmanager/views/admin.py LTPanel.scorm_authentication/original