Commit a8323c73 authored by Loïc Chapron's avatar Loïc Chapron

fix istex

parent 7ed63155
......@@ -5,7 +5,7 @@ Loïc Chapron
import json
import pandas as pd
import datetime
from datetime import datetime
import zipfile
import streamlit as st
import src.basic as tmp
......@@ -60,8 +60,6 @@ def read_zip(zip_file):
temp["publication_year"] = article["publicationDate"][0]
except:
temp["publication_year"] = datetime.date.today().year
temp["publication_year"] = article.get(
"publicationDate", datetime.date.today().year)[0]
temp["publication_month"] = 1
temp["publication_day"] = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment