update dx.py

This commit is contained in:
phantomlan 2023-10-21 20:35:46 +02:00
parent 7f1ff60b9d
commit e9637c94de

View File

@ -552,7 +552,7 @@ class Mai2DX(Mai2Base):
music_detail_list = [] music_detail_list = []
if user_id <= 0: if user_id <= 0:
self.logger.warn("handle_get_user_music_api_request: Could not find userid in data, or userId is 0") self.logger.warning("handle_get_user_music_api_request: Could not find userid in data, or userId is 0")
return {} return {}
songs = self.data.score.get_best_scores(user_id) songs = self.data.score.get_best_scores(user_id)