mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
replace _ with space in add-on names
This commit is contained in:
parent
905bd10efe
commit
0bc4a1a220
1 changed files with 1 additions and 0 deletions
|
|
@ -140,6 +140,7 @@ When loading '%(name)s':
|
|||
errs.append(_("Error downloading %(id)s: %(error)s") % dict(id=n, error=ret[1]))
|
||||
continue
|
||||
data, fname = ret
|
||||
fname = fname.replace("_", " ")
|
||||
self.install(str(n), data, fname)
|
||||
name = os.path.splitext(fname)[0]
|
||||
log.append(_("Downloaded %(fname)s" % dict(fname=name)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue