Skip to content

Commit 903a0ef

Browse files
committedNov 5, 2021
Fix to work on network drives (win10)
1 parent 7ce83c8 commit 903a0ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/sphinxcontrib/scm/util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def get_contibutors(self) -> list[str]:
1717
:path: Path of which to get contributors
1818
:flags: Additional flags passed to `git shortlog`
1919
"""
20-
docpath = self.get_source_info()[0]
21-
docdir = Path(docpath).resolve().parent
20+
docpath = Path(self.get_source_info()[0]).resolve()
21+
docdir = docpath.parent
2222
min_commits = self.optn_over_conf("min_commits", "scm_contribs_min_commits")
2323

2424
limit_authors = self.optn_over_conf(

0 commit comments

Comments
 (0)
Please sign in to comment.