From 73dda06413c009c6f661f21935aa30c3ad615945 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Thu, 5 Sep 2024 11:37:52 -0400 Subject: [PATCH] mai2: add warning about portrait uploading not being supported. #67 --- titles/mai2/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/titles/mai2/base.py b/titles/mai2/base.py index b3c6a1d..bbd074f 100644 --- a/titles/mai2/base.py +++ b/titles/mai2/base.py @@ -818,7 +818,8 @@ class Mai2Base: } async def handle_upload_user_portrait_api_request(self, data: Dict) -> Dict: - self.logger.debug(data) + self.logger.warning("Portrait uploading not supported at this time.") + return {'returnCode': 0, 'apiName': 'UploadUserPortraitApi'} async def handle_upload_user_photo_api_request(self, data: Dict) -> Dict: if not self.game_config.uploads.photos or not self.game_config.uploads.photos_dir: