From 5c56e01124d3d7ffc3e9c627a86ea034984e9e87 Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Thu, 29 Nov 2012 15:35:54 +0100 Subject: [PATCH] Accept https URLs on drop Fixes PICARD-378 --- picard/ui/itemviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picard/ui/itemviews.py b/picard/ui/itemviews.py index fa65836fa..40eee1b93 100644 --- a/picard/ui/itemviews.py +++ b/picard/ui/itemviews.py @@ -404,7 +404,7 @@ class BaseTreeView(QtGui.QTreeWidget): BaseTreeView.tagger.add_directory(filename) else: new_files.append(filename) - elif url.scheme() == "http": + elif url.scheme() in ("http", "https"): path = unicode(url.path()) match = re.search(r"/(release|recording)/([0-9a-z\-]{36})", path) if match: