Commit 75c7f1fb authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'dev'

fix tag info api if id is str

See merge request !68
parents 077988b8 5546b257
......@@ -39,7 +39,7 @@ class TagUpdateOrCreateView(APIView):
try:
data = self.rpc['venus/sun/tag/get'](id=id).unwrap()
except Exception as e:
error_logger.error(u'获取标签%d信息失败%s'%(id, e))
error_logger.error(u'获取标签%d信息失败%s'%(int(id), e))
raise
if not data:
data = {}
......
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