Commit 57c5f384 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update learn_my_authors to fix a bug.

parent 580d8d88
...@@ -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(', ')
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