From 10cf0deebd5ddc2a8c21151e2b1e5ab2b30e3f55 Mon Sep 17 00:00:00 2001 From: Till Skrodzki Date: Mon, 15 Jan 2024 19:52:19 +0100 Subject: [PATCH] WIP: Working raw parsing and processing --- mapadroid/db/DbPogoProtoSubmitRaw.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mapadroid/db/DbPogoProtoSubmitRaw.py b/mapadroid/db/DbPogoProtoSubmitRaw.py index a6ded587b..2c79ffc1a 100644 --- a/mapadroid/db/DbPogoProtoSubmitRaw.py +++ b/mapadroid/db/DbPogoProtoSubmitRaw.py @@ -712,7 +712,8 @@ async def quest(self, session: AsyncSession, quest_proto: pogoprotos.FortSearchO target: Optional[int] = goal.target condition: RepeatedCompositeFieldContainer[pogoprotos.QuestConditionProto] = goal.condition - json_condition: str = ProtoHelper.to_json(condition) + # TODO: Json dumping protos... + json_condition: str = json.dumps(condition) task = await quest_gen.questtask(int(quest_type), json_condition, int(target), quest_template, quest_title_resource_id) quest: Optional[TrsQuest] = await TrsQuestHelper.get(session, fort_id, quest_layer)