Merge remote-tracking branch 'origin/master'

This commit is contained in:
Hofei
2021-02-15 23:43:50 +01:00
2 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -79,7 +79,11 @@ def get_hc_domination_stats(stats, user):
def get_standard_statistik(url, user):
url = url.format(user)
data = get_json_data(url)["data"]
json_data = get_json_data(url)
if not json_data["data"]:
return
else:
data = json_data["data"]
check_user(user)
stats = data["segments"][0]["stats"]
+2 -1
View File
@@ -4,4 +4,5 @@ toml~=0.10.0
paramiko~=2.7.1
setuptools~=46.1.3
beautifulsoup4~=4.9.0
html5lib
html5lib
psycopg2