Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 955413c3 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

replace % with 0.01

parent 53ff36e7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ def post_search(request, search):
        unmodified_query = query
        query = query.replace("x", "*")
        query = query.replace("^", "**")
        query = query.replace("%", "*0.01")

        # Not going to compute if only one number is present
        try: