Skip to content

Commit 908a067

Browse files
mdqstpacrob
authored andcommitted
Fix incorrect use of __file__ variable in configuration script
1 parent dc964d1 commit 908a067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import os
1919

20-
DIR = os.path.dirname("__file__")
20+
DIR = os.path.dirname(__file__)
2121
with open(os.path.join(DIR, "../setup.py"), "r") as f:
2222
for line in f:
2323
if "version=" in line:

0 commit comments

Comments
 (0)