Skip to content

Commit a374147

Browse files
committed
decode bytes
1 parent 1a82ced commit a374147

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ At the same time it allows anyone to build a custom version of OpenCV for any Py
2929
The project is structured like a normal Python package with a standard ``setup.py`` file. The build process is as follows (see ``appveyor.yml``):
3030

3131
1. Checkout repository and submodules
32-
- OpenCV is included as submodule and the version is updated manually when a new has been made
32+
- OpenCV is included as submodule and the version is updated manually when a new OpenCV release has been made
3333
2. Find OpenCV version from the sources
3434
2. Upgrade pip and install numpy for each Python version
3535
3. Build OpenCV

find_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
break
2424

2525
# used in local dev releases
26-
git_hash = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD'])
26+
git_hash = subprocess.check_output(['git', 'rev-parse', '--short', 'HEAD']).decode()
2727

2828
if os.name == 'posix':
2929
version = os.getenv('TRAVIS_TAG', git_hash)

0 commit comments

Comments
 (0)