回复出错:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado-3.1-py2.7.egg/tornado/
web.py", line 1141, in _when_complete
callback()
File "/usr/local/lib/python2.7/dist-packages/tornado-3.1-py2.7.egg/tornado/
web.py", line 1162, in _execute_method
self._when_complete(method(*self.path_args, **self.path_kwargs),
File "/home/feilaoda/www/iosplay/deploy/app/account/
decorators.py", line 32, in wrapper
return method(handler, *args, **kwargs)
File "/home/feilaoda/www/iosplay/deploy/app/topic/
handlers.py", line 354, in post
num = (index_num - 1) / 30 + 1
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'