Commit 5da379dc authored by Manuel Günther's avatar Manuel Günther
Browse files

Switched create_directories_save to ..._safe.

parent 1ae7ee2a
...@@ -24,7 +24,7 @@ import numpy ...@@ -24,7 +24,7 @@ import numpy
# from bob # from bob
from bob.io.base import save as save_to_file from bob.io.base import save as save_to_file
from bob.io.base import create_directories_save from bob.io.base import create_directories_safe
# internal # internal
from .. import utils, test_utils from .. import utils, test_utils
...@@ -440,7 +440,7 @@ def main(user_input=None): ...@@ -440,7 +440,7 @@ def main(user_input=None):
size = '%dx%dx%d@%gHz' % (args.length, args.height, args.width, size = '%dx%dx%d@%gHz' % (args.length, args.height, args.width,
args.framerate) args.framerate)
outdir = os.path.join(args.output, test, codec, size, format) outdir = os.path.join(args.output, test, codec, size, format)
create_directories_save(outdir) create_directories_safe(outdir)
try: try:
result = detail(f, (args.length, args.height, args.width), result = detail(f, (args.length, args.height, args.width),
......
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