cumulus-sync: Create a tool for copying snapshots between locations.
[cumulus.git] / python / cumulus / __init__.py
index e1dac84..424e38c 100644 (file)
@@ -97,7 +97,9 @@ class LowlevelDataStore:
     """
 
     def __init__(self, path):
-        if path.find(":") >= 0:
+        if isinstance(path, cumulus.store.Store):
+            self.store = path
+        elif path.find(":") >= 0:
             self.store = cumulus.store.open(path)
         else:
             self.store = cumulus.store.file.FileStore(path)