fix python syntax

This commit is contained in:
XelXen 2022-09-21 19:52:40 +05:30 committed by GitHub
parent 37e6595fd5
commit 198cd5a542
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
.github/uploader.py vendored
View File

@ -1,7 +1,7 @@
from os import system as run
import tgconfig
if GH_REPO.lower() == "libre-tube/libretube":
if tgconfig.GH_REPO.lower() == "libre-tube/libretube":
run("git clone https://github.com/LibreTubeAlpha/Archive archive")
run("rm -rf archive/*.apk")
run("mv app/build/outputs/apk/debug/*.apk archive/")

View File

@ -58,7 +58,7 @@ jobs:
continue-on-error: true
run: |
mv .github/uploader.py .
echo "GH_REPO = '${{ env.GITHUB_REPOSITORY }}'" > tgconfig.py
echo "GH_REPO = '${{ github.repository }}'" > tgconfig.py
python uploader.py
- name: Telegram Bot