decoding error fixed
This commit is contained in:
parent
c4dd366997
commit
c6a3928638
3 changed files with 13 additions and 9 deletions
|
|
@ -442,7 +442,7 @@ class SSHKeyCreateView(LoginRequiredMixin, FormView):
|
|||
manager = OpenNebulaManager()
|
||||
|
||||
# Get user ssh key
|
||||
public_key = form.cleaned_data.get('public_key', '')
|
||||
public_key = str(form.cleaned_data.get('public_key', ''))
|
||||
# Add ssh key to user
|
||||
try:
|
||||
manager.add_public_key(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue