Blizzard/s2protocol

SyntaxError: invalid syntax in s2_cli.py

Necdilzor opened this issue · 4 comments

Hello,

I'm using Python 3.6.7 and just installed s2protocol via "pip install s2protocol". After reading the tutorial here I tried executing s2_cli.py but I get this syntax error in line 299.

"except Exception, e:" causes the syntax error, maybe this is using Python 2.x? In that case, I couldn't find that mentioned in this repo.

I use this with Python 2.X

#89 fixes this issue. Feel free to install from https://github.com/wroersma/s2protocol/tree/cli until it's merged and test it out!

jrepp commented

Try the python 3 support in master now