diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 02:34:56 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-01-16 02:34:56 +0100 |
| commit | b61ef3c57798dd3ecc67ec1f4d207f0520a89f43 (patch) | |
| tree | 876b655134d2c49dacc9d0e4f879e91fd7316001 /crop_frames.py | |
| parent | b3d86eff5070b7557c72cd1052f00b3bc7684d77 (diff) | |
lol
Diffstat (limited to 'crop_frames.py')
| -rw-r--r-- | crop_frames.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crop_frames.py b/crop_frames.py index dd8c1e6..b1db08d 100644 --- a/crop_frames.py +++ b/crop_frames.py @@ -49,7 +49,7 @@ def crop_dir(): partz = fn.split('_') try: num = int(partz[-1].replace('.png', '')) - if num >= start and num <= end: + if num >= opt.start and num <= opt.end: dataset.append((raw_fn, width, height, step, side, overlap, top_offset,)) except: pass |
