Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GarganTexternal tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anne-Laure Thomas Derepas
GarganTexternal tools
Commits
34e1216e
Commit
34e1216e
authored
Sep 29, 2023
by
Loïc Chapron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Ris_To_GarganText.py
parent
74bc33a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Ris_To_GarganText.py
Streamlit/pages/Ris_To_GarganText.py
+6
-2
No files found.
Streamlit/pages/Ris_To_GarganText.py
View file @
34e1216e
...
...
@@ -39,8 +39,12 @@ def read_file(file):
month
=
tmp
[
1
]
day
=
tmp
[
2
]
else
:
if
doc
.
__contains__
(
'year'
):
year
=
doc
[
'year'
]
.
replace
(
'/'
,
''
)
.
replace
(
'.'
,
''
)
if
doc
.
__contains__
(
'year'
)
:
tmp
=
doc
[
'year'
]
.
replace
(
'/'
,
''
)
.
replace
(
'.'
,
''
)
if
tmp
.
isdigit
():
year
=
tmp
else
:
year
=
str
(
date
.
today
()
.
year
)
else
:
year
=
str
(
date
.
today
()
.
year
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment