Commit 95a56ace authored by Ivana CHINGOVSKA's avatar Ivana CHINGOVSKA
Browse files

corrected save() in models.py

parent 1dc950b6
......@@ -202,7 +202,7 @@ class File(Base):
"""
path = self.make_path(directory, extension)
bob.db.base.utils.makedirs_safe(os.path.dirname(path))
bob.io.base.create_directories_safe(os.path.dirname(path))
bob.io.base.save(data, path)
# Intermediate mapping from RealAccess's to Protocol's
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment