ctcci: hotfix

This commit is contained in:
ave 2020-05-28 15:56:38 +03:00
parent 30c8b07077
commit b21564104e
Signed by untrusted user: a
GPG Key ID: 398DD7BD03276F6D
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,6 @@
import os
import sys
import shutil
import requests
import json
import subprocess
from ctcconfig import *
@ -39,7 +38,8 @@ os.environ["DISTOK_EXTRACTED_DISCORD_PATH"] = WORK_APK_PATH
os.makedirs(WORK_FOLDER, exist_ok=True)
with open(os.path.join(REPO_FOLDER, "patchport-state.json")) as f:
VERSION = f["versioncode"]
STATE = json.load(f)
VERSION = STATE["versioncode"]
BASE_APK_PATH = os.path.join(WORK_FOLDER, f"discord-base-{VERSION}")

View File

@ -1 +0,0 @@
requests