X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/72d59c7b46a21de59874b84c418a01073f55e139..d39b6ed13b5ba567d18a4bd0e9a3dfe67b3cc4ec:/code/main.py?ds=sidebyside diff --git a/code/main.py b/code/main.py index 6dcb70d..29b46db 100755 --- a/code/main.py +++ b/code/main.py @@ -377,7 +377,7 @@ def modifyDict(username, state, fields): machine.owner = validate.owner update_acl = True if hasattr(validate, 'name'): - machine.name = name + machine.name = validate.name if hasattr(validate, 'admin') and validate.admin != machine.administrator: machine.administrator = validate.admin update_acl = True