From 0c77c208133c18bde416b4bbb957073d4319b7bf Mon Sep 17 00:00:00 2001 From: adrinjalali Date: Thu, 23 Apr 2020 11:06:56 +0200 Subject: [PATCH] fix generate_authors_table.py --- build_tools/generate_authors_table.py | 4 ++-- doc/authors.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build_tools/generate_authors_table.py b/build_tools/generate_authors_table.py index 81e99856c6890..eaad1df75475c 100644 --- a/build_tools/generate_authors_table.py +++ b/build_tools/generate_authors_table.py @@ -11,6 +11,7 @@ import getpass import time from pathlib import Path +from os import path print("user:", file=sys.stderr) user = input() @@ -18,7 +19,7 @@ auth = (user, passwd) LOGO_URL = 'https://avatars2.githubusercontent.com/u/365630?v=4' -REPO_FOLDER = Path(__file__).parent.parent +REPO_FOLDER = Path(path.abspath(__file__)).parent.parent def get(url): @@ -100,7 +101,6 @@ def get_profile(login): 'Duchesnay': 'Edouard Duchesnay', 'Lars': 'Lars Buitinck', 'MechCoder': 'Manoj Kumar', - 'jeremiedbb': 'Jérémie Du Boisberranger', } if profile["name"] in missing_names: profile["name"] = missing_names[profile["name"]] diff --git a/doc/authors.rst b/doc/authors.rst index 6a03871d67e90..7b5426fe3128d 100644 --- a/doc/authors.rst +++ b/doc/authors.rst @@ -7,7 +7,7 @@

-

Jérémie Du Boisberranger

+

Jérémie du Boisberranger