cqian19 / Pokemon-Go-Adventures

A real-time interactive web map and game stats viewer for Pokemon Go
GNU General Public License v3.0
0 stars 1 forks source link

bot has a couple of issues (also commenting mistake?) #3

Open BottingAcc opened 8 years ago

BottingAcc commented 8 years ago

@cqian19 In your code for util.py, you have nonlocal interval. Is that supposed to be a command? I just deleted that line and after that I got this error:

TypeError: super() takes at least 1 argument (0 given)

in line 164, in init super().init()

Any fix? tysm

cqian19 commented 8 years ago

Sorry for the late response. Are you using Python 2 still? I believe Python 2 doesn't support nonlocal and super without arguments. You'll have to download Python 3 and set the environment variables to point to Python 3 (which I assume you already know how to do, since you know how to run the program with Python 2).