comments.py: fix comment posting if there is no cache configured

Bug report from @augmentedfourth. Missed requirement by me.

Possibly this means that all routines in rendcache should guard against
this, but that will be another changeset some other day. For now, I fix
the bug.