mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 05:37:12 -05:00
re-enable add-on downloading
This commit is contained in:
parent
3afef3edb0
commit
00111e4182
1 changed files with 5 additions and 3 deletions
|
|
@ -119,9 +119,11 @@ class AddonManager(object):
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
def onGetAddons(self):
|
def onGetAddons(self):
|
||||||
showInfo("Currently disabled, as add-ons built for 2.0.x will need updating")
|
showInfo("""\
|
||||||
|
Most add-ons built for Anki 2.0.x will not work on this version of Anki \
|
||||||
# GetAddons(self.mw)
|
until they are updated. To avoid errors during startup, please only \
|
||||||
|
download add-ons that say they support Anki 2.1.x in the description.""")
|
||||||
|
GetAddons(self.mw)
|
||||||
|
|
||||||
def install(self, data, fname):
|
def install(self, data, fname):
|
||||||
if fname.endswith(".py"):
|
if fname.endswith(".py"):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue