]> git.bzium.org/ - embe/overlay.git/blob - app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
app-misc/anki: bump to 2.1.16
[embe/overlay.git] / app-misc / anki / files / anki-2.1.0_beta25-web-folder.patch
1 --- anki-2.1.0beta25/aqt/mediasrv.py
2 +++ anki-2.1.0beta25/aqt/mediasrv.py
3 @@ -13,7 +13,7 @@
4  # locate web folder in source/binary distribution
5  def _getExportFolder():
6      # running from source?
7 -    srcFolder = os.path.join(os.path.dirname(__file__), "..")
8 +    srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "share", "anki")
9      webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
10      if os.path.exists(webInSrcFolder):
11          return webInSrcFolder