Add image ext in filename matching (#2778)

* Add image ext in matching

* remove dead code
main
Maxim Zhiltsov 5 years ago committed by GitHub
parent 6cd61a46a6
commit 44a504e16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -601,7 +601,7 @@ def match_dm_item(item, task_data, root_hint=None):
frame_number = None
if frame_number is None and item.has_image:
frame_number = task_data.match_frame(item.image.path, root_hint)
frame_number = task_data.match_frame(item.id + item.image.ext, root_hint)
if frame_number is None:
frame_number = task_data.match_frame(item.id, root_hint)
if frame_number is None:

Loading…
Cancel
Save