Commit 93f10b5a authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'dev'

fix code

See merge request alpha/sun!110
parents 00bfb1a6 56cfd9db
...@@ -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