From 8ac33f589c2dc35b465c794c2d1b322c1439d27e Mon Sep 17 00:00:00 2001 From: Lasse Server Date: Sat, 8 Jul 2023 15:52:51 +0200 Subject: [PATCH] Minus fix --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 6fac2b1..1adc0e3 100644 --- a/app.py +++ b/app.py @@ -32,12 +32,13 @@ if authentication_status: s.append(str(i)) s = ''.join(s) - if s[0] == '0': + if s[0:2] == '07' and len(s) == 10: s = '46' + s[1:] # Search for info. r = main.search(s) + # Present result. if r != None: if r['column_find'] == 'ID': id = r['find']