mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 10:16:44 +01:00
14 lines
439 B
Diff
14 lines
439 B
Diff
diff --git a/pygraphviz/agraph.py b/pygraphviz/agraph.py
|
|
index d539ba0..f5bac3f 100644
|
|
--- a/pygraphviz/agraph.py
|
|
+++ b/pygraphviz/agraph.py
|
|
@@ -1792,7 +1792,7 @@ class AGraph:
|
|
if platform.system() == "Windows":
|
|
name += ".exe"
|
|
|
|
- paths = os.environ["PATH"]
|
|
+ paths = '@path@'
|
|
for path in paths.split(os.pathsep):
|
|
match = glob.glob(os.path.join(path, name))
|
|
if match:
|