dan-da/py2php

Python comment without elif

Opened this issue · 2 comments

Hi,
Thanks for this tool.
Something I noticed is that when there is a Python comment just before an elif, there is an error, like in:

    # Front-to-back. 
    elif item.id + ".inv" not in self.items_by_id and \
        item.id + ".tr.1" not in self.items_by_id:

How exactly do you run the script?

It was nearly two months ago but I guess it was on command line on Linux Mint.