From 9d70ead8973cfbc61aed3dbf97be177a315cd22c Mon Sep 17 00:00:00 2001 From: Loren Eteval Date: Thu, 17 Aug 2023 07:45:21 +0800 Subject: [PATCH] Fix routingToIndex Signed-off-by: Loren Eteval --- Furious/Action/Routing.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Furious/Action/Routing.py b/Furious/Action/Routing.py index 199babd..4e77ed2 100644 --- a/Furious/Action/Routing.py +++ b/Furious/Action/Routing.py @@ -129,6 +129,10 @@ def routingToIndex(): if routing == currentRouting: return i + return -1 + except Exception: + # Any non-exit exceptions + return -1 else: return index + len(BUILTIN_ROUTING)