From: Yasin Date: Mon, 20 Jan 2014 17:31:52 +0000 (+0100) Subject: MyAcc: clearcred- not clearning newlines X-Git-Tag: myslice-0.3-0~25 X-Git-Url: http://git.onelab.eu/?p=unfold.git;a=commitdiff_plain;h=b81c98064566ba64e0e70600ce6f3aeecd0abb22 MyAcc: clearcred- not clearning newlines --- diff --git a/portal/accountview.py b/portal/accountview.py index f3a15275..2fc5e823 100644 --- a/portal/accountview.py +++ b/portal/accountview.py @@ -436,7 +436,7 @@ def account_process(request): user_pub_key = account_config.get('user_public_key','N/A') user_priv_key = account_config.get('user_private_key','N/A') updated_config = '{"user_public_key":"'+ user_pub_key + '", "user_private_key":"'+ user_priv_key + '", "user_hrn":"'+ user_hrn + '"}' - updated_config = ''.join(updated_config.split()) + #updated_config = ''.join(updated_config.split()) user_params = { 'config': updated_config} manifold_update_account(request,user_params) messages.success(request, 'All Credentials cleared')