Skip to content

Commit 193d954

Browse files
committed
added log message to save_image when creating dir
1 parent 2ede559 commit 193d954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/idc/api/_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def save_image(self, path: str, make_dirs: bool = False) -> bool:
254254
if make_dirs:
255255
parent_dir = os.path.dirname(path)
256256
if not os.path.exists(parent_dir):
257+
self.logger().info("Creating dir: %s" % parent_dir)
257258
os.makedirs(parent_dir)
258259
if (self._data is None) and (self._source is not None) and (os.path.exists(self._source)):
259260
shutil.copy(self._source, path)

0 commit comments

Comments
 (0)