Skip to content

Commit 0f841fd

Browse files
committed
Routine updates.
1 parent eda82b3 commit 0f841fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rearrange.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
from os import makedirs
12
from shutil import copyfile
23

34
from utils import get_items
45

56

67
def rearrange(src: str, output_dir: str) -> None:
8+
makedirs(output_dir)
79
i = 0
810
for path in get_items(src):
911
if not path.endswith(".png"):

0 commit comments

Comments
 (0)