Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
57c5f384
Commit
57c5f384
authored
Feb 06, 2020
by
LE GAC Renaud
Browse files
Update learn_my_authors to fix a bug.
parent
580d8d88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/harvest_tools/base.py
modules/harvest_tools/base.py
+5
-5
No files found.
modules/harvest_tools/base.py
View file @
57c5f384
...
@@ -56,11 +56,11 @@ def learn_my_authors(db,
...
@@ -56,11 +56,11 @@ def learn_my_authors(db,
year
=
year
)
year
=
year
)
# no entry in the database
# no entry in the database
if
not
row
:
if
row
is
None
:
db
.
my_authors
[
0
]
=
dict
(
authors
=
authors
,
db
.
my_authors
[
None
]
=
dict
(
authors
=
authors
,
id_projects
=
id_project
,
id_projects
=
id_project
,
id_teams
=
id_team
,
id_teams
=
id_team
,
year
=
year
)
year
=
year
)
return
return
database_authors
=
row
.
authors
.
split
(
', '
)
database_authors
=
row
.
authors
.
split
(
', '
)
...
...
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