Update author_generator.rb

fix bug for post_authors nil