From 0895bc59836fe4cfb2d776954bb7a5f8f68a8b36 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sun, 30 Jun 2024 18:07:02 +1000 Subject: [PATCH] Oops - remove hardcoded path and use self.url, one too many ctrl-zs when testing :( --- states.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states.py b/states.py index b7839cc..cf5c453 100644 --- a/states.py +++ b/states.py @@ -116,7 +116,7 @@ class States(PA): self.path_type = 'Bin' elif 'search' in self.url: # okay if we are a search, but came from a view then get last_search_state form prefs and use it - m=re.match( '.*search/(.+)$', 'search/AI:dad' ) + m=re.match( '.*search/(.+)$', self.url ) if m == None: SetFELog( message=f"ERROR: DDP messed up, seems we are processing a search, but cant see the search term - is this even possible?" ) return