Update app.py
Browse files
app.py
CHANGED
|
@@ -115,8 +115,8 @@ def extract_result(lst):
|
|
| 115 |
try:
|
| 116 |
birth_date=datetime.strptime(lst[x][1][4], '%y%m%d').strftime('%d/%m/%Y')
|
| 117 |
expiry_date=datetime.strptime(lst[x][1][5], '%y%m%d').strftime('%d/%m/%Y')
|
| 118 |
-
print(type(
|
| 119 |
-
print(
|
| 120 |
print("check1")
|
| 121 |
issue_date=expiry_date
|
| 122 |
except:
|
|
|
|
| 115 |
try:
|
| 116 |
birth_date=datetime.strptime(lst[x][1][4], '%y%m%d').strftime('%d/%m/%Y')
|
| 117 |
expiry_date=datetime.strptime(lst[x][1][5], '%y%m%d').strftime('%d/%m/%Y')
|
| 118 |
+
print(type(datetime.strptime(lst[x][1][5], '%y%m%d')))
|
| 119 |
+
print((datetime.strptime(lst[x][1][5], '%y%m%d')).year)
|
| 120 |
print("check1")
|
| 121 |
issue_date=expiry_date
|
| 122 |
except:
|