From 83887422fbc5c1088ccc0bfb6b8959f861018286 Mon Sep 17 00:00:00 2001 From: Paul Robinson <5199899+pacrob@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:13:04 -0700 Subject: [PATCH] correct use of __file__ --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 7aaef77c..771bc45e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,7 +17,7 @@ import os -DIR = os.path.dirname("__file__") +DIR = os.path.dirname(__file__) with open(os.path.join(DIR, "../setup.py"), "r") as f: for line in f: if "version=" in line: