Skip to content

Commit

Permalink
Add city name to status message
Browse files Browse the repository at this point in the history
  • Loading branch information
ikagod authored Jan 14, 2024
1 parent 357462e commit 40aa603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ikabot/function/constructionList.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 40aa603

Please sign in to comment.