コード例 #1
0
def modelrun():
    """Run the model
    """
    try:
        from mmodel.mmodel import MModel
        m = MModel(mDatabase=db,mUid=auth.user_id)
        result = m.run()
        return dict( result=False )
    except Exception as e:
        print "Error: %s" % e
        return dict( result=False )