Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def extract_result(lst):
|
|
134 |
document_type=lst[x][7]
|
135 |
document_number=lst[x][8]
|
136 |
|
137 |
-
if document_type=="P" or document_type=="p" or document_type=="PM" or document_type=="PO":
|
138 |
temp_lst.append([surname,name,country,birth_date,expiry_date,document_number])
|
139 |
else:
|
140 |
print(lst)
|
|
|
134 |
document_type=lst[x][7]
|
135 |
document_number=lst[x][8]
|
136 |
|
137 |
+
if document_type=="P" or document_type=="p":# or document_type=="PM" or document_type=="PO":
|
138 |
temp_lst.append([surname,name,country,birth_date,expiry_date,document_number])
|
139 |
else:
|
140 |
print(lst)
|