From e2c9f090a4104ef7542d51a4b9b76716c4b3c813 Mon Sep 17 00:00:00 2001 From: Christian Glatthard Date: Tue, 11 Aug 2015 20:39:36 +0200 Subject: [PATCH] fix success message on container clone --- ipynbsrv/web/views/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipynbsrv/web/views/containers.py b/ipynbsrv/web/views/containers.py index b230cd4..43c2745 100644 --- a/ipynbsrv/web/views/containers.py +++ b/ipynbsrv/web/views/containers.py @@ -63,7 +63,7 @@ def clone(request): # create clone try: client.containers(ct_id).clone.post(params) - messages.success(request, "Sucessfully created the clone `{}`.".format(name)) + messages.success(request, "Sucessfully created the clone `{}`.".format(params.get('name'])) except Exception as e: messages.error(request, api_error_message(e, params))