We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41a1ea0 commit 9caf824Copy full SHA for 9caf824
module/umamusume/task.py
@@ -68,7 +68,7 @@ def build_task(task_execute_mode: TaskExecuteMode, task_type: int,
68
td.cultivate_result = {}
69
# 剧本相关设置
70
td.scenario_config = ScenarioConfig(
71
- aoharu_config=None if 'aoharu_config' not in attachment_data else AoharuConfig(attachment_data['aoharu_config']))
+ aoharu_config=None if (attachment_data['aoharu_config'] is None) else AoharuConfig(attachment_data['aoharu_config']))
72
# 限时: 富士奇石的表演秀
73
td.fujikiseki_show_mode = attachment_data['fujikiseki_show_mode']
74
td.fujikiseki_show_difficulty = attachment_data['fujikiseki_show_difficulty']
0 commit comments