Fixes "'int' is not iterable" bug.
Merge pull request #21 from baalexander/publisher_fix

Fixes "'int' is not iterable" bug.