From 5a66aa4c29a10ac3b77bebc698ed4dc79252c320 Mon Sep 17 00:00:00 2001 From: Adrian Moennich Date: Mon, 24 May 2021 18:39:40 +0200 Subject: [PATCH] URSH: Fix more UndefinedErrors --- ursh/indico_ursh/controllers.py | 3 ++- ursh/indico_ursh/templates/ursh_shortener_page.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ursh/indico_ursh/controllers.py b/ursh/indico_ursh/controllers.py index 289c0de..72d70b9 100644 --- a/ursh/indico_ursh/controllers.py +++ b/ursh/indico_ursh/controllers.py @@ -82,7 +82,8 @@ class RHCustomShortURLPage(RHManageEventBase): event=self.event, ursh_host=self.ursh_host, original_url=original_url, - submitted=False) + submitted=False, + shortcut=None) def _process_POST(self): original_url = self._make_absolute_url(request.args['original_url']) diff --git a/ursh/indico_ursh/templates/ursh_shortener_page.html b/ursh/indico_ursh/templates/ursh_shortener_page.html index 05d1cfb..6ea1456 100644 --- a/ursh/indico_ursh/templates/ursh_shortener_page.html +++ b/ursh/indico_ursh/templates/ursh_shortener_page.html @@ -16,7 +16,7 @@