Accept https URLs on drop

Fixes PICARD-378
This commit is contained in:
Wieland Hoffmann
2012-11-29 15:35:54 +01:00
parent 9087e808bc
commit 5c56e01124

View File

@@ -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: