tilery/python-postgis

`cursor` variable is not defined.

qizidog opened this issue · 0 comments

The "Example with psycopg2" in readme.md is not friendly enough, there is a fault about cursor variable.

cursor variable is not defined.

cursor = db.cursor() should be executed before cursor variable is used.