Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

Commit 007b4b3

Browse files
committed
fix search not using callback route
1 parent 32fa304 commit 007b4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.module.codequick/lib/codequick/listing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ def search(cls, callback, *args, **kwargs):
825825
:raises ValueError: If the given "callback" function does not have a ``search_query`` parameter.
826826
"""
827827
if hasattr(callback, "route"):
828-
route = callback
828+
route = callback.route
829829
else:
830830
route = dispatcher.get_route(callback)
831831

0 commit comments

Comments
 (0)