diff options
-rw-r--r-- | dodai/config/databases/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dodai/config/databases/__init__.py b/dodai/config/databases/__init__.py index ba6b9a9..c91e77f 100644 --- a/dodai/config/databases/__init__.py +++ b/dodai/config/databases/__init__.py | |||
@@ -114,7 +114,7 @@ class DatabaseConnection(object): | |||
114 | if not self.obj: | 114 | if not self.obj: |
115 | self.validate() | 115 | self.validate() |
116 | handler = self._get_handler() | 116 | handler = self._get_handler() |
117 | self.obj = handler(self.name, self.section) | 117 | self.obj = handler(self.section, self.name) |
118 | return self.obj | 118 | return self.obj |
119 | 119 | ||
120 | def _get_handler(self): | 120 | def _get_handler(self): |