Content-Length: 246604 | pFad | http://github.com/opencv/opencv-python/commit/2e44d30e4c3841ca911d50ca18d10770310719eb

00 fix: handle None case for python library · opencv/opencv-python@2e44d30 · GitHub
Skip to content

Commit 2e44d30

Browse files
authored
fix: handle None case for python library
1 parent 6b73d90 commit 2e44d30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main():
3636
]
3737

3838
python_version = cmaker.CMaker.get_python_version()
39-
python_lib_path = cmaker.CMaker.get_python_library(python_version).replace(
39+
python_lib_path = (cmaker.CMaker.get_python_library(python_version) or "").replace(
4040
"\\", "/"
4141
)
4242
python_include_dir = cmaker.CMaker.get_python_include_dir(python_version).replace(

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/opencv/opencv-python/commit/2e44d30e4c3841ca911d50ca18d10770310719eb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy