From dcc0394ade006b0da4363297de169c18b6d81819 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 25 Mar 2024 12:45:57 -0400 Subject: [PATCH] Fixing move-profile redirect URL --- owrx/controllers/settings/sdr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/controllers/settings/sdr.py b/owrx/controllers/settings/sdr.py index d5626e24..91b37134 100644 --- a/owrx/controllers/settings/sdr.py +++ b/owrx/controllers/settings/sdr.py @@ -443,7 +443,7 @@ class SdrProfileController(SdrFormControllerWithModal): del self.device["profiles"][id] self.device["profiles"][id] = profile config.store() - return self.send_redirect("{}settings/sdr/{}".format(self.get_document_root(), quote(self.device_id))) + return self.send_redirect("{}settings/sdr/{}/profile/{}".format(self.get_document_root(), quote(self.device_id), quote(self.profile_id))) class NewProfileController(SdrProfileController):