summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS.txt2
-rw-r--r--pyramid/scripts/pserve.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 1f3597e84..7c895ac15 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -258,3 +258,5 @@ Contributors
- Rami Chousein, 2015/10/28
- Sri Sanketh Uppalapati, 2015/12/12
+
+- Marcin RaczyƄski, 2016/01/26
diff --git a/pyramid/scripts/pserve.py b/pyramid/scripts/pserve.py
index 155b82bdc..3ea614eb5 100644
--- a/pyramid/scripts/pserve.py
+++ b/pyramid/scripts/pserve.py
@@ -391,7 +391,7 @@ a real process manager for your processes like Systemd, Circus, or Supervisor.
if self.options.browser:
def open_browser():
- context = loadcontext(SERVER, app_spec, name=app_name, relative_to=base,
+ context = loadcontext(SERVER, app_spec, name=server_name, relative_to=base,
global_conf=vars)
url = 'http://127.0.0.1:{port}/'.format(**context.config())
time.sleep(1)