Spaces:
Sleeping
Sleeping
Izlabota indentācijas kļūda
Browse files
app.py
CHANGED
|
@@ -74,6 +74,7 @@ def analyze_experience(text):
|
|
| 74 |
if end.lower() in ['tagad', 'present', 'šobrīd']:
|
| 75 |
end_year = datetime.now().year
|
| 76 |
else:
|
|
|
|
| 77 |
except:
|
| 78 |
continue
|
| 79 |
|
|
|
|
| 74 |
if end.lower() in ['tagad', 'present', 'šobrīd']:
|
| 75 |
end_year = datetime.now().year
|
| 76 |
else:
|
| 77 |
+
end_year = int(end.split('/')[-1].split('.')[-1])
|
| 78 |
except:
|
| 79 |
continue
|
| 80 |
|