提交 ea5d7890 编写于 作者: M MRXLT

bug fix

上级 26c9e61d
......@@ -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.
先完成此消息的编辑!
想要评论请 注册