diff --git a/handle_imported_video.py b/handle_imported_video.py index 4bb64e8..2023559 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -191,9 +191,12 @@ if _ACTION == "encode": if os.path.exists(_FULL_PATH): if os.path.exists(_FULL_PATH + "100GOPRO"): _FULL_PATH = _FULL_PATH + "100GOPRO" + parts = [] for filename in os.listdir(_FULL_PATH): if filename.startswith("joined_") and filename.endswith(".MP4"): parts.append(filename) + else: + sys.exit()