summaryrefslogtreecommitdiff
path: root/crop-moving.py
diff options
context:
space:
mode:
Diffstat (limited to 'crop-moving.py')
-rw-r--r--crop-moving.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/crop-moving.py b/crop-moving.py
index 653dc72..2e895d1 100644
--- a/crop-moving.py
+++ b/crop-moving.py
@@ -60,7 +60,8 @@ for i in range(opt.count):
if x < 0:
x = 0
crops.append((x, y0, w, y0 + crop_height + y_margin + y_margin,))
- path = os.path.join(out_path, chr(97 + i))
+ letter = chr(97 + i)
+ path = os.path.join(out_path, letter)
os.makedirs(path)
paths.append(path)