start works on storage
[tiramisu.git] / tiramisu / config.py
index f05d900..abc3261 100644 (file)
@@ -545,11 +545,11 @@ class _CommonConfig(SubConfig):
         for key, value in state.items():
             if key not in ['_storage', '_impl_setting']:
                 setattr(self, key, value)
-        set_storage(**state['_impl_setting'])
+        set_storage('config', **state['_impl_setting'])
         self._impl_context = weakref.ref(self)
         self._impl_settings.context = weakref.ref(self)
         self._impl_values.context = weakref.ref(self)
-        storage = get_storage(test=self._impl_test, **state['_storage'])
+        storage = get_storage('config', test=self._impl_test, **state['_storage'])
         self._impl_values._impl_setstate(storage)
         self._impl_settings._impl_setstate(storage)
         self._impl_meta = None