From b678c85400c8f405e6357fb28cbe3dc8eb483c9f Mon Sep 17 00:00:00 2001 From: Ambulance Clerc Date: Thu, 2 Jun 2022 16:58:26 +0200 Subject: [PATCH] Ajout des sans destination --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 3edd772..f3609da 100644 --- a/main.py +++ b/main.py @@ -498,6 +498,8 @@ class ClercAttrib2Biz(): if "without_transportation" in data.Intervention.keys() and data.Intervention["without_transportation"] == True: csv_col.data[15] = "Sans transport" print(f"->NO DEST** {data.data['id']}") + elif data.Intervention["destination_name"] == None and data.Intervention["destination_street"] == None and data.Intervention["destination_city"] == None: + csv_col.data[15] = "Sans destination" else: con = "" concat_str = ""