dan-da / py2php

py2php is a utility that will auto-translate python code into PHP code.
GNU General Public License v2.0
98 stars 32 forks source link

Python comment without elif #13

Open Hjertesvikt opened 4 years ago

Hjertesvikt commented 4 years ago

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:

ostheperson commented 4 years ago

How exactly do you run the script?

Hjertesvikt commented 4 years ago

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