From 621fb7a786c724609690c480650b8a4ac01befa7 Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Fri, 15 May 2020 17:14:47 +0200 Subject: Adapt ogLinuxOperation to work with json config file ogClient changed its config file format to json. This patch adapts ogLinuxOperation to use new config file. Co-authored-by: Roberto Hueso --- src/ogRest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ogRest.py') diff --git a/src/ogRest.py b/src/ogRest.py index 64558a2..01a3050 100644 --- a/src/ogRest.py +++ b/src/ogRest.py @@ -251,7 +251,7 @@ class ogRest(): self.samba_config = self.CONFIG['samba'] if self.mode == 'linux': - self.operations = OgLinuxOperations() + self.operations = OgLinuxOperations(self.CONFIG) elif self.mode == 'virtual': self.operations = OgVirtualOperations() threading.Thread(target=ogThread.check_vm_state_loop, -- cgit v1.2.3-18-g5258