Have detchar.create_cache return an empty cache rather than None
Also, clean up create_cache to reduce the level of indentation.
Fixes #309 (closed).
Edited by Leo P. Singer
Also, clean up create_cache to reduce the level of indentation.
Fixes #309 (closed).