From 986005141d3c0d9658055bcd8028c09685fa5908 Mon Sep 17 00:00:00 2001 From: Talmo Pereira Date: Thu, 10 Aug 2023 21:32:32 -0700 Subject: [PATCH] Fix drag and drop --- sleap/gui/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleap/gui/app.py b/sleap/gui/app.py index 6f5733830..29f2e36f5 100644 --- a/sleap/gui/app.py +++ b/sleap/gui/app.py @@ -274,7 +274,7 @@ def dropEvent(self, event): # Load self.commands.openProject(filename=filenames[0], first_open=True) - elif all([ext.lower() in available_video_exts() for ext in exts]): + elif all([ext.lower()[1:] in available_video_exts() for ext in exts]): # Import videos self.commands.showImportVideos(filenames=filenames)