def list_snapshots_days(path, cam_id):
screenshoots_path = path + "<STR_LIT:/>" + str(cam_id)<EOL>if os.path.exists(screenshoots_path):<EOL><INDENT>days = []<EOL>for day_dir in os.listdir(screenshoots_path):<EOL><INDENT>date = datetime.datetime.strptime(day_dir, "<STR_LIT>").strftime('<STR_LIT>')<EOL>days.append((date, day_dir))<EOL><DEDENT>return days<EOL><DEDENT>else:<EOL><INDENT>return []<EOL><DEDENT>
Returns a list of (date, dir) in which snapshopts are present