add app-misc/anki-2.1.0_beta37

This commit is contained in:
Florian Tham
2018-03-08 10:17:33 +01:00
parent 44e21fd79e
commit 9fbc113a0d
4 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- anki-2.1.0beta25/aqt/mediasrv.py
+++ anki-2.1.0beta25/aqt/mediasrv.py
@@ -13,7 +13,7 @@
# locate web folder in source/binary distribution
def _getExportFolder():
# running from source?
- srcFolder = os.path.join(os.path.dirname(__file__), "..")
+ srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "share", "anki")
webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
if os.path.exists(webInSrcFolder):
return webInSrcFolder