1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 06:18:21 +08:00

Merge branch 'master' into gems_farming

This commit is contained in:
LmeSzinc
2021-07-10 22:44:30 +08:00
10 changed files with 38 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ def pack(img_list):
class AzurStats:
API = 'https://azurstats.lyoko.io/api/upload/'
TIMEOUT = 10
TIMEOUT = 20
def __init__(self, config):
"""
@@ -54,7 +54,7 @@ class AzurStats:
return False
def clear(self):
self.images = {}
self.images = []
def _user_agent(self):
return f'Alas ({self.config.AZURSTAT_ID})'