fix: 修改原来 platform 为 device 时,导致的 asset 类型不对

This commit is contained in:
ibuler
2023-06-19 17:46:33 +08:00
committed by Jiangjie.Bai
parent 471411a1aa
commit 4d4644dddd
4 changed files with 60 additions and 4 deletions

View File

@@ -72,8 +72,7 @@ def create_system_messages(app_config: AppConfig, **kwargs):
sub, created = SystemMsgSubscription.objects.get_or_create(message_type=message_type)
if created:
obj.post_insert_to_db(sub)
logger.info(
f'Create SystemMsgSubscription: package={app_config.module.__package__} type={message_type}')
logger.info(f'Create MsgSubscription: package={app_config.module.__package__} type={message_type}')
except ModuleNotFoundError:
pass