diff --git a/handle_imported_video.py b/handle_imported_video.py index 8c64ce0..d56e70d 100644 --- a/handle_imported_video.py +++ b/handle_imported_video.py @@ -107,7 +107,7 @@ def export_gps(_DEV,_SOURCE_DIR,_DAY_DIRS): pass else: continue - if filename.endswith(".MP4") and not filename.startswith("G"): + if filename.endswith(".MP4") and filename.startswith("G"): myCmd = f"gopro2gpx -s {filename} {filename.replace('.MP4', '')}" print(myCmd) status, output = subprocess.getstatusoutput(myCmd)