diff --git a/src/.decoder_propre.py.swp b/src/.decoder_propre.py.swp new file mode 100644 index 0000000..496c921 Binary files /dev/null and b/src/.decoder_propre.py.swp differ diff --git a/src/__pycache__/ecritureBDD.cpython-39.pyc b/src/__pycache__/ecritureBDD.cpython-39.pyc index 10b8d6c..182265d 100644 Binary files a/src/__pycache__/ecritureBDD.cpython-39.pyc and b/src/__pycache__/ecritureBDD.cpython-39.pyc differ diff --git a/src/decoder_propre.py b/src/decoder_propre.py index effcf2d..282d365 100644 --- a/src/decoder_propre.py +++ b/src/decoder_propre.py @@ -74,7 +74,7 @@ def decode(pkt): LPackets.append([miniL[0][1],miniL[2]+j,status[j]]) #Add the read's status into the `connect` database - triPacket([miniL[0][1],miniL[2]+j,LPackets],connec) + triPacket(LPackets,connec) #Reset the globalization's list miniL = [0,0,0] @@ -111,7 +111,7 @@ def decode(pkt): LPackets.append([miniL[0][1],addr+j,status[j]]) #Add and check the write's status into the `connect` database - triPacket([miniL[0][1],addr+j,LPackets,connec) + triPacket(LPackets,connec) #Single write request else: #Single write coil request