Skip to content

Fix incorrect string format in js build script#26374

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
OrkWard:fix-js-build-script
Oct 28, 2024
Merged

Fix incorrect string format in js build script#26374
asmorkalov merged 2 commits intoopencv:4.xfrom
OrkWard:fix-js-build-script

Conversation

@OrkWard
Copy link
Copy Markdown
Contributor

@OrkWard OrkWard commented Oct 27, 2024

I accidentally met this small problem mentioned in #25084 (comment) when play with wasm build. It seems https://github.com/EDVTAZ didn't fix it yet, so I create this tiny pr.

Additionally, I remove a redundant argument in add_argument call. 'store_true' already set the default, see https://docs.python.org/3/library/argparse.html#action.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@EDVTAZ
Copy link
Copy Markdown
Contributor

EDVTAZ commented Oct 27, 2024

Thanks for following up on this, I don't have any problems with you moving ahead with the fix.

I was a bit uncertain if it was caught at some point of the release process where it can be patched quickly by maintainers, or if the comment was asking me to fix it, since the PR was already merged at that point.

At any rate I unfortunately forgot about it after that, so thank you for fixing it!

@asmorkalov asmorkalov self-assigned this Oct 28, 2024
@asmorkalov asmorkalov merged commit 8791cd1 into opencv:4.x Oct 28, 2024
@asmorkalov asmorkalov mentioned this pull request Nov 2, 2024
thewoz pushed a commit to CobbsLab/OPENCV that referenced this pull request Feb 13, 2025
Fix incorrect string format in js build script opencv#26374

I accidentally met this small problem mentioned in opencv#25084 (comment) when play with wasm build. It seems https://github.com/EDVTAZ didn't fix it yet, so I create this tiny pr.

Additionally, I remove a redundant argument in `add_argument` call. `'store_true'` already set the default, see https://docs.python.org/3/library/argparse.html#action.

### Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants