Ajout print de débug

This commit is contained in:
Ambulance Clerc
2022-05-11 18:03:30 +02:00
parent 86a98477ae
commit 1812657faf

View File

@@ -18,7 +18,7 @@ from threading import *
from class_invoices import *
VERSION = "202200511 - 1022"
VERSION = "202200511 - 1803"
@@ -629,8 +629,10 @@ class ClercAttrib2Biz():
data.Patient[elem] = "Patient inconnu"
if elem == "street_number":
print(f"ADRESS: data.Patient[elem]")
if data.Patient[elem] != None and "-" in data.Patient[elem] and "\t" not in data.Patient[elem]:
data.Patient[elem] = f"\t{data.Patient[elem]}"
print(f"ERROR DEBUG ADRESS: { data.Patient[elem]}")
self.addToIndexs(obj=csv_col, data=data.Patient[elem], cat="patient", key=elem)