Index: main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py
===================================================================
--- main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py	(revision 6541)
+++ main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/accesscodes.py	(revision 6542)
@@ -269,4 +269,8 @@
     def _getStoragePath(self):
         """Get the directory, where batch import files are stored.
+
+        If the path does not exist yet, it is created. The path is
+        normally ``accesscodes/imports`` below the datacenter storage
+        path (see :data:`waeup.sirp.accesscodes.Datacenter.storage`).
         """
         site = grok.getSite()
@@ -274,10 +278,12 @@
         ac_storage = os.path.join(storagepath, 'accesscodes')
         import_path = os.path.join(ac_storage, 'imports')
-        if not os.path.exists(import_path):
-            os.mkdir(import_path)
+        for path in [ac_storage, import_path]:
+            if not os.path.exists(path):
+                os.mkdir(path)
+                site.logger.info('created path %s' % path)
         return import_path
 
     def addBatch(self, batch):
-        """Add a batch.
+        """Add an already created `batch`.
         """
         batch.num = self.getNum(batch.prefix)
