Skip to content

Commit

Permalink
Typo corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
pbranly committed Dec 6, 2022
1 parent fbf6068 commit a5ece87
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/models/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def job_import_data(self, wait=True, target=None):
self.get_gateway_status()
except Exception as e:
traceback.print_exc()
LOG.error([f"Erreur lors de la récupération des information de la passerelle", e])
LOG.error([f"Erreur lors de la récupération des informations de la passerelle", e])
try:
if target == "account_status" or target is None:
self.get_account_status()
Expand All @@ -68,7 +68,7 @@ def job_import_data(self, wait=True, target=None):
self.get_contract()
except Exception as e:
traceback.print_exc()
LOG.critical([f"Erreur lors de la récupération des information du contract", e])
LOG.critical([f"Erreur lors de la récupération des informations du contract", e])
try:
if target == "addresses" or target is None:
self.get_addresses()
Expand All @@ -86,7 +86,7 @@ def job_import_data(self, wait=True, target=None):
self.get_consumption_detail()
except Exception as e:
traceback.print_exc()
LOG.error([f"Erreur lors de la récupération de votre consommation détaillé", e])
LOG.error([f"Erreur lors de la récupération de votre consommation détaillée", e])
try:
if target == "production" or target is None:
self.get_production()
Expand All @@ -98,7 +98,7 @@ def job_import_data(self, wait=True, target=None):
self.get_production_detail()
except Exception as e:
traceback.print_exc()
LOG.error([f"Erreur lors de la récupération de votre production détaillé", e])
LOG.error([f"Erreur lors de la récupération de votre production détaillée", e])

try:
# #######################################################################################################
Expand Down Expand Up @@ -258,7 +258,7 @@ def get_consumption(self):
def get_consumption_detail(self):
result = {}
if hasattr(self.usage_point_config, "consumption_detail") and self.usage_point_config.consumption_detail:
LOG.title(f"[{self.usage_point_config.usage_point_id}] Récupération de la consommation détaillé :")
LOG.title(f"[{self.usage_point_config.usage_point_id}] Récupération de la consommation détaillée :")
result = Detail(
headers=self.header_generate(),
usage_point_id=self.usage_point_config.usage_point_id,
Expand All @@ -279,7 +279,7 @@ def get_production(self):
def get_production_detail(self):
result = {}
if hasattr(self.usage_point_config, "production_detail") and self.usage_point_config.production_detail:
LOG.title(f"[{self.usage_point_config.usage_point_id}] Récupération de la production détaillé :")
LOG.title(f"[{self.usage_point_config.usage_point_id}] Récupération de la production détaillée :")
result = Detail(
headers=self.header_generate(),
usage_point_id=self.usage_point_config.usage_point_id,
Expand Down

0 comments on commit a5ece87

Please sign in to comment.