def process_dir(_, dir_name, files):
	"""looks for .jpg/.jpeg file in dir"""
	sys.stdout.write('%-70s\r' % (dir_name))
	for fname in files:
		can_change = False
		fnl = fname.lower()
		for ext in EXTENSIONS:
			if fnl.endswith(ext):
				can_change = True
				break
		if can_change:
			fname = os.path.join(dir_name, fname)
			if os.path.isfile(fname):
				redate_by_exif(fname)
looks for .jpg/.jpeg file in dir
recipes/Python/550811_JPG_files_redater_by_EXIF_data/recipe-550811.py