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
0
Merge Requests
0
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
Julien Moutinho
GarganTexternal tools
Commits
8e85d913
Commit
8e85d913
authored
Oct 12, 2023
by
Anne-Laure Thomas Derepas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
Dev See merge request
athomas/gargantexternal-tools!15
parents
5635c954
0ab307a9
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 @
8e85d913
...
@@ -39,8 +39,12 @@ def read_file(file):
...
@@ -39,8 +39,12 @@ def read_file(file):
month
=
tmp
[
1
]
month
=
tmp
[
1
]
day
=
tmp
[
2
]
day
=
tmp
[
2
]
else
:
else
:
if
doc
.
__contains__
(
'year'
):
if
doc
.
__contains__
(
'year'
)
:
year
=
doc
[
'year'
]
.
replace
(
'/'
,
''
)
.
replace
(
'.'
,
''
)
tmp
=
doc
[
'year'
]
.
replace
(
'/'
,
''
)
.
replace
(
'.'
,
''
)
if
tmp
.
isdigit
():
year
=
tmp
else
:
year
=
str
(
date
.
today
()
.
year
)
else
:
else
:
year
=
str
(
date
.
today
()
.
year
)
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