def validate(flags): if not os.path.exists(os.path.join(flags.path, 'rgb.mp4')): absolute_path = os.path.abspath(flags.path) print(f"The directory {absolute_path} does not appear to be a directory created by the Stray Scanner app.") return False return True