mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
Tweak comment in the non-add-on case
This commit is contained in:
parent
d930f51a8f
commit
b4d9510b24
1 changed files with 2 additions and 1 deletions
|
|
@ -51,7 +51,8 @@ class SoundOrVideoTag:
|
||||||
"Prepend the media folder to the filename."
|
"Prepend the media folder to the filename."
|
||||||
if os.path.basename(self.filename) == self.filename:
|
if os.path.basename(self.filename) == self.filename:
|
||||||
# Path in the current collection's media folder.
|
# Path in the current collection's media folder.
|
||||||
# Ensure filename doesn't reference parent folder.
|
# Turn it into a fully-qualified path so mpv can find it, and to
|
||||||
|
# ensure the filename doesn't get treated like a non-file scheme.
|
||||||
head, tail = media_folder, self.filename
|
head, tail = media_folder, self.filename
|
||||||
else:
|
else:
|
||||||
# Add-ons can use absolute paths to play arbitrary files on disk.
|
# Add-ons can use absolute paths to play arbitrary files on disk.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue