SoCo/SoCo — pull request #135 by petteraas (2014-05-17 19:25:48+00:00)
Title: Added isinstance(metadata, str) check before running encode on metadata. Closes #134

Closes #134

Check that ```metadata``` is in fact a string before running encode on it.