From fa5646ecfd30a2e88a3af9db28d135ce5f7d1260 Mon Sep 17 00:00:00 2001 From: Eriks Karls Date: Thu, 22 Aug 2019 14:32:00 +0300 Subject: [PATCH] Receive daily order --- erepublik/citizen.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/erepublik/citizen.py b/erepublik/citizen.py index 96be3fa..af43032 100644 --- a/erepublik/citizen.py +++ b/erepublik/citizen.py @@ -345,9 +345,8 @@ class Citizen(classes.CitizenAPI): self.details.xp = citizen.get("currentExperiencePoints", 0) self.details.daily_task_done = citizen.get("dailyTasksDone", False) self.details.daily_task_reward = citizen.get("hasReward", False) - # if citizen.get("dailyOrderDone", False) and not citizen.get("hasDailyOrderReward", False): - # self.post_military_group_missions(self.token) - # self.get_citizen_daily_assistant() + if citizen.get("dailyOrderDone", False) and not citizen.get("hasDailyOrderReward", False): + self._post_military_group_missions() self.details.next_pp.sort() for id_, skill in citizen.get("mySkills", {}).items():