mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Comment debug code
This commit is contained in:
@@ -68,6 +68,7 @@ class AzurStats:
|
|||||||
logger.info(f'Uploading screenshots to AzurStat, amount: {amount}')
|
logger.info(f'Uploading screenshots to AzurStat, amount: {amount}')
|
||||||
if amount == 0:
|
if amount == 0:
|
||||||
logger.warning(f'Image upload failed, no images to upload')
|
logger.warning(f'Image upload failed, no images to upload')
|
||||||
|
return False
|
||||||
image = pack(self.images)
|
image = pack(self.images)
|
||||||
output = io.BytesIO()
|
output = io.BytesIO()
|
||||||
image.save(output, format='png')
|
image.save(output, format='png')
|
||||||
@@ -83,7 +84,7 @@ class AzurStats:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if resp.status_code == 200:
|
if resp.status_code == 200:
|
||||||
print(resp.text)
|
# print(resp.text)
|
||||||
info = json.loads(resp.text)
|
info = json.loads(resp.text)
|
||||||
code = info.get("code", 500)
|
code = info.get("code", 500)
|
||||||
if code == 200:
|
if code == 200:
|
||||||
|
|||||||
Reference in New Issue
Block a user