Once more occurrance

This commit is contained in:
Joshua Boniface 2020-01-04 14:00:26 -05:00
parent a10ce95be3
commit c2c6198dae
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ def create_profile(name, system_template, network_template, storage_template, us
retcode = 400 retcode = 400
return retmsg, retcode return retmsg, retcode
userdatas = list_template_userdata(None) userdatas = list_userdata(None)
userdata_id = None userdata_id = None
for template in userdatas: for template in userdatas:
if template['name'] == userdata: if template['name'] == userdata: