Commit 56cfd9db authored by 王浩's avatar 王浩

fix code

parent 2f465fcb
...@@ -59,7 +59,7 @@ class PictorialUpdateOrCreate(APIView): ...@@ -59,7 +59,7 @@ class PictorialUpdateOrCreate(APIView):
'icon': request.POST.get('icon', '') 'icon': request.POST.get('icon', '')
} }
try: try:
error, data = self.rpc['venus/sun/pictorial/edit'](id=id, data=data).unwrap() data = self.rpc['venus/sun/pictorial/edit'](id=id, data=data).unwrap()
except Exception as e: except Exception as e:
error_logger.error(u'编辑%s用户信息失败%s' % (id, e)) error_logger.error(u'编辑%s用户信息失败%s' % (id, e))
raise raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment