mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
better formatting for total
This commit is contained in:
parent
d8a3f854be
commit
cff671c9df
1 changed files with 5 additions and 1 deletions
|
|
@ -33,6 +33,9 @@ def main():
|
|||
BAXTER_KELLY_submissions = BAXTER_KELLY.get_number_of_surverys_completed()
|
||||
|
||||
total_dict = dict(Counter(south_coast_submissions) + Counter(jjc_coast_submission) + Counter(sgec_submission) + Counter(BAXTER_KELLY_submissions))
|
||||
total = 0
|
||||
for item, val in total_dict.items():
|
||||
total += val
|
||||
|
||||
logger.info("Good morning Cyrus")
|
||||
logger.info("-------------------------------------------")
|
||||
|
|
@ -66,7 +69,8 @@ def main():
|
|||
logger.info("-----TOTAL PRE SITE NOTES SUBMISSIONS------")
|
||||
logger.info("-------------------------------------------")
|
||||
logger.info(f"For week commencing: {WEEK_COMMENCING}")
|
||||
logger.info(f"Total Submissions: {pformat(total_dict)}")
|
||||
logger.info(f"Total Submissions: {total}")
|
||||
logger.info(f"Submissions per Surveyor: {pformat(total_dict)}")
|
||||
logger.info("-------------------------------------------")
|
||||
logger.info("---BROUGHT TO YOU BY THE DOMNA TECH TEAM---")
|
||||
logger.info("-------------------------------------------")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue