From a5283d60ff2d2be0f7a1ba47a6f75938dcbe2fe5 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Thu, 1 Feb 2024 11:14:05 +0300 Subject: [PATCH] fixed: SyntaxError - unexpected character after line continuation character Signed-off-by: Alexander Piskun --- .github/workflows/analysis-coverage.yml | 4 ++-- .github/workflows/test-src-build-windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/analysis-coverage.yml b/.github/workflows/analysis-coverage.yml index b260e4d5..2f52ca07 100644 --- a/.github/workflows/analysis-coverage.yml +++ b/.github/workflows/analysis-coverage.yml @@ -182,8 +182,8 @@ jobs: # Here we just test working with original package from MSYS. - name: Copy DLLs from MSYS2 run: | - python -c 'import sysconfig; print(sysconfig.get_paths()[\"platlib\"])' - $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()[\"platlib\"])') + python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])' + $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])') cp ${{ env.MSYS2_PREFIX }}/bin/libheif.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libx265.dll $site_packages/ diff --git a/.github/workflows/test-src-build-windows.yml b/.github/workflows/test-src-build-windows.yml index 7b5cb817..33972501 100644 --- a/.github/workflows/test-src-build-windows.yml +++ b/.github/workflows/test-src-build-windows.yml @@ -62,7 +62,7 @@ jobs: - name: Copy DLLs from MSYS2 run: | - $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()[\"platlib\"])') + $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])') cp ${{ env.MSYS2_PREFIX }}/bin/libheif.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libx265.dll $site_packages/ @@ -114,7 +114,7 @@ jobs: - name: Copy DLLs from MSYS2 run: | - $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()[\"platlib\"])') + $site_packages=(python -c 'import sysconfig; print(sysconfig.get_paths()["platlib"])') cp ${{ env.MSYS2_PREFIX }}/bin/libheif.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libde265-0.dll $site_packages/ cp ${{ env.MSYS2_PREFIX }}/bin/libwinpthread-1.dll $site_packages/