Fork/mirror of Andy Wingo's tekuti
Tom Willemse
6da1ed8fd2
When starting a new blog, or trying to run on some very old data, there is no data available on any bogus or legitimate comments. When this happens Tekuti will try to divide by 0 and divide 0 by other things in a few places, assuming that there is at least _some_ data about bogus and legitimate comments. I’m not 100% sure what the expectation is of these calculations, so I might have chosen the wrong solution, but it seems to me that if there is no data available, all we know is that there is nothing (0). This fixes an issue with both trying to comment on a fresh new data set, or a dataset that hasn’t been touched since 2014. |
||
---|---|---|
src | ||
tekuti | ||
.gitignore | ||
acinclude.m4 | ||
AUTHORS | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
env.in | ||
example-config | ||
Makefile.am | ||
NEWS | ||
nginx-config | ||
README | ||
wordpress-to-dir.py | ||
wordpress-xmlrpc-to-dir.py |