Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ def extract_result(lst):
|
|
| 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(expiry_date))
|
| 119 |
-
print(expiry_date.year
|
| 120 |
print("check1")
|
| 121 |
issue_date=expiry_date
|
| 122 |
except:
|
|
|
|
| 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(expiry_date))
|
| 119 |
+
print(expiry_date.year)
|
| 120 |
print("check1")
|
| 121 |
issue_date=expiry_date
|
| 122 |
except:
|