From e79508fc751b97acd9892003f5a45602799a172a Mon Sep 17 00:00:00 2001 From: m417z <4129781+m417z@users.noreply.github.com> Date: Tue, 1 Feb 2022 21:23:58 +0200 Subject: [PATCH] pymultitor: change identity on error 403 --- .github/workflows/deploy.yml | 2 +- data/deploy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c004e6a15d80..04ec2679474e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,7 +34,7 @@ jobs: uses: actions/cache@v2 with: path: ${{ env.pythonLocation }} - key: ${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('.github/workflows/deploy.yml') }} + key: v2-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('.github/workflows/deploy.yml') }} - name: Install Python dependencies run: | python -m pip install --upgrade pip diff --git a/data/deploy.py b/data/deploy.py index 698763adc401..c0253dd448b8 100644 --- a/data/deploy.py +++ b/data/deploy.py @@ -84,7 +84,7 @@ def run_virustotal_updates(): return None if not check_pymultitor(): - subprocess.Popen(['pymultitor', '--on-error-code', '429', '--tor-timeout', '0']) + subprocess.Popen(['pymultitor', '--on-error-code', '403,429', '--tor-timeout', '0']) while not check_pymultitor(): time.sleep(1)