py2php icon indicating copy to clipboard operation
py2php copied to clipboard

Python comment without elif

Open Hjertesvikt opened this issue 5 years ago • 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:

Hjertesvikt avatar May 07 '20 19:05 Hjertesvikt

How exactly do you run the script?

ostheperson avatar Jul 01 '20 19:07 ostheperson

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

Hjertesvikt avatar Jul 01 '20 21:07 Hjertesvikt