def list_snapshots_hours(path, cam_id, day):
screenshoots_path = path+"<STR_LIT:/>"+str(cam_id)+"<STR_LIT:/>"+day<EOL>if os.path.exists(screenshoots_path):<EOL><INDENT>hours = []<EOL>for hour_dir in sorted(os.listdir(screenshoots_path)):<EOL><INDENT>hrm = datetime.datetime.strptime(hour_dir, "<STR_LIT>").strftime('<STR_LIT>')<EOL>hours.append((hrm, hour_dir))<EOL><DEDENT>return hours<EOL><DEDENT>else:<EOL><INDENT>return []<EOL><DEDENT>
Returns a list of hour/min in which snapshopts are present