Skip to content
Extraits de code Groupes Projets
Valider a2c898ba rédigé par Julien - Le Filament's avatar Julien - Le Filament
Parcourir les fichiers

Merge branch '16.0-typo' into '16.0'

parents 70069228 208ef802
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -27,7 +27,7 @@ Credits ...@@ -27,7 +27,7 @@ Credits
Contributors Contributors
------------ ------------
* Julien Ortet <julian@le-filament.com> * Julien Ortet <julien@le-filament.com>
Maintainer Maintainer
---------- ----------
......
...@@ -58,7 +58,9 @@ class RepartitionKeyEntryFile: ...@@ -58,7 +58,9 @@ class RepartitionKeyEntryFile:
for line in csv_file: for line in csv_file:
json[line.get("Horodate")] = [] json[line.get("Horodate")] = []
for counter in counter_list_from_file: for counter in counter_list_from_file:
json[line.get("Horodate")].append({"id": counter, "key": line.get(counter).replace(",", ".")}) json[line.get("Horodate")].append(
{"id": counter, "key": line.get(counter).replace(",", ".")}
)
return json return json
def data_to_send(self, agreement_id, send_empty_key=True): def data_to_send(self, agreement_id, send_empty_key=True):
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter