fix pysub compatibility
Merge pull request #10 from benoitguigal/fix_#9

fix pysub compatibility