Skip to content

Commit

Permalink
Merge pull request #129 from agiudiceandrea/patch-1
Browse files Browse the repository at this point in the history
Patch 1
  • Loading branch information
cayetanobv authored Oct 9, 2020
2 parents 5c586c1 + ac87058 commit d9f3a0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ This plugin can be installed using the QGIS Plugin Manager.

pgRouting v3.x up and running to use this plugin.

Additionally, QGIS needs python-psycopg2 installed to be able to connect to the database.
Additionally, QGIS needs python3-psycopg2 installed to be able to connect to the database.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This plugin can be installed using the QGIS Plugin Manager.

- This plugin runs only with QGIS 3.x and Python 3.
- pgRouting v3.x up and running to use this plugin.
- Additionally, QGIS needs python-psycopg2 installed to be able to connect to the database.
- Additionally, QGIS needs python3-psycopg2 installed to be able to connect to the database.

## Links

Expand Down
2 changes: 1 addition & 1 deletion pgRoutingLayer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def getPgrVersion(con):
''' returns version of PostgreSQL database. '''
try:
cur = con.cursor()
cur.execute('SELECT pgr_version FROM pgr_version()')
cur.execute('SELECT version FROM pgr_full_version()')
row = cur.fetchone()[0]
versions = ''.join([i for i in row if i.isdigit()])
version = versions[0]
Expand Down

0 comments on commit d9f3a0e

Please sign in to comment.