From 40aa603b61260f9baf103d7ca7b39270ca1a3a68 Mon Sep 17 00:00:00 2001 From: ikagod <65701886+ikagod@users.noreply.github.com> Date: Sun, 14 Jan 2024 11:18:13 +0100 Subject: [PATCH] Add city name to status message --- ikabot/function/constructionList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ikabot/function/constructionList.py b/ikabot/function/constructionList.py index a6792c83..95c24eb7 100644 --- a/ikabot/function/constructionList.py +++ b/ikabot/function/constructionList.py @@ -60,7 +60,7 @@ def waitForConstruction(session, city_id, final_lvl): msg = _('{}: I wait {:d} seconds so that {} gets to the level {:d}').format(city['cityName'], seconds_to_wait, construction_building['name'], construction_building['level'] + 1) sendToBotDebug(session, msg, debugON_constructionList) - session.setStatus(f"Waiting until {getDateTime(time.time()+seconds_to_wait+10)[8:]}, {construction_building['name']} {construction_building['level']} -> {construction_building['level']+1}, final lvl: {final_lvl}") + session.setStatus(f"Waiting until {getDateTime(time.time()+seconds_to_wait+10)[8:]}, {construction_building['name']} {construction_building['level']} -> {construction_building['level']+1} in {city['name']}, final lvl: {final_lvl}") wait(seconds_to_wait + 10) html = session.get(city_url + city_id)