Skip to content
Permalink
Browse files

Fix env var

  • Loading branch information
elpaso committed Jun 24, 2016
1 parent ca55b21 commit c1d0fab04fd8b271f503dbde8d1766db62849005
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/qgis_wrapped_server.py
@@ -24,8 +24,8 @@
from qgis.server import QgsServer

try:
QGIS_SERVER_DEFAULT_PORT = os.environ('QGIS_SERVER_DEFAULT_PORT')
except:
QGIS_SERVER_DEFAULT_PORT = int(os.environ['QGIS_SERVER_DEFAULT_PORT'])
except KeyError:
QGIS_SERVER_DEFAULT_PORT = 8081


0 comments on commit c1d0fab

Please sign in to comment.
You can’t perform that action at this time.