Update app.py
Browse files
app.py
CHANGED
|
@@ -137,6 +137,7 @@ def extract_result(lst):
|
|
| 137 |
if document_type=="P" or document_type=="p":
|
| 138 |
temp_lst.append([surname,name,country,birth_date,expiry_date,document_number])
|
| 139 |
else:
|
|
|
|
| 140 |
temp_lst.append("The attached document is not a Passport")
|
| 141 |
|
| 142 |
#temp_lst.append([surname,name,country,nationality,birth_date,expiry_date,document_type,document_number])
|
|
|
|
| 137 |
if document_type=="P" or document_type=="p":
|
| 138 |
temp_lst.append([surname,name,country,birth_date,expiry_date,document_number])
|
| 139 |
else:
|
| 140 |
+
print(lst)
|
| 141 |
temp_lst.append("The attached document is not a Passport")
|
| 142 |
|
| 143 |
#temp_lst.append([surname,name,country,nationality,birth_date,expiry_date,document_type,document_number])
|