Fix routingToIndex

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-08-17 08:23:41 +08:00
parent d825f8980e
commit 9d70ead897
+4
View File
@@ -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)