POFile initialization from data doesn't work on 0.6

Issue #17 resolved
Seraphim Mellos
created an issue

Hello,

I just tried to test the latest release and it seems like it's breaking the ability to initialize a POFile directly from data instead of a file. In the documentation it seems like it should be supported, as in the previous version:

{{{ pofile string, full or relative path to the po/pot file or its content (data) }}}

It seems like this check is the reason it's breaking:

https://bitbucket.org/izi/polib/src/39cb2d39ba1a/polib.py#cl-39

Comments (3)

  1. Log in to comment