Skip to content

Commit 6bb4844

Browse files
committed
Addons: Fix installing official addons through drag & drop
Installing official addons through drag & drop doesn work from cleaning the addons names onwards. The mismatch occurs when we compare cleaned addon name with the zip file name. Since the officical addon name was cleaned it doesn't match the uncleaned zip filename.
1 parent 4d80ffb commit 6bb4844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/canvas/application/addons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def dropEvent(self, event):
588588
if path.endswith(self.ADDON_EXTENSIONS):
589589
name, vers, summary, descr = (get_meta_from_archive(path) or
590590
(os.path.basename(path), '', '', ''))
591-
names.append(name)
591+
names.append(cleanup(name))
592592
packages.append(
593593
Installable(name, vers, summary,
594594
descr or summary, path, [path]))

0 commit comments

Comments
 (0)