提交 883b3e42 编写于 作者: J Jiawei Wang 提交者: GitHub

Merge pull request #741 from MRXLT/bug-fix

bug fix
......@@ -88,7 +88,7 @@ class WebService(object):
result = self.postprocess(
feed=request.json["feed"], fetch=fetch, fetch_map=fetch_map)
result = {"result": result}
except ValueError, err:
except ValueError as err:
result = {"result": err}
return result
......
......@@ -133,7 +133,7 @@ class WebService(object):
result = self.postprocess(
feed=request.json["feed"], fetch=fetch, fetch_map=fetch_map)
result = {"result": result}
except ValueError, err:
except ValueError as err:
result = {"result": err}
return result
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册