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,8 +56,8 @@ def learn_my_authors(db,
year=year)
# no entry in the database
if not row:
db.my_authors[0] = dict(authors=authors,
if row is None:
db.my_authors[None] = dict(authors=authors,
id_projects=id_project,
id_teams=id_team,
year=year)
......
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