mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
skip dropbox init if media folder doesn't exist
This commit is contained in:
parent
7d846a85ab
commit
405a28e090
1 changed files with 1 additions and 1 deletions
|
|
@ -2900,7 +2900,7 @@ This deck already exists on your computer. Overwrite the local copy?"""),
|
||||||
dir = deck.mediaDir()
|
dir = deck.mediaDir()
|
||||||
# update location
|
# update location
|
||||||
deck.setVar("mediaLocation", next)
|
deck.setVar("mediaLocation", next)
|
||||||
if prefix == "dropbox":
|
if dir and prefix == "dropbox":
|
||||||
self.setupDropbox(deck)
|
self.setupDropbox(deck)
|
||||||
|
|
||||||
def migrateMedia(self, from_, to):
|
def migrateMedia(self, from_, to):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue