diff tasks/task_social_contract.py @ 22:5fd933e238bb

massive refactoring from camelCase -> snake_case. See backend commit log for more details
author Goffi <goffi@goffi.org>
date Mon, 22 May 2023 09:11:54 +0200
parents b5fc67c97c50
children e7c7327f9f25
line wrap: on
line diff
--- a/tasks/task_social_contract.py	Tue Nov 30 17:39:46 2021 +0100
+++ b/tasks/task_social_contract.py	Mon May 22 09:11:54 2023 +0200
@@ -14,7 +14,7 @@
 class Task(task.Task):
 
     def start(self):
-        sat_path = self.getConfig("sat_repos_path")
+        sat_path = self.config_get("sat_repos_path")
         for filepath in glob.glob(os.path.join(sat_path, "CONTRAT_SOCIAL*")):
             filename = os.path.basename(filepath)
             with open(filepath) as f: