1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-06-29 08:33:23 +00:00

path join bug

, instead of + because get_main_dir is not endswith os.sep
This commit is contained in:
林檎 2017-03-01 17:20:58 +08:00
parent 90aa269e92
commit 583380e71a

View File

@ -1033,7 +1033,7 @@ def stats():
categorys = len(db.session.query(db.Tags).all())
series = len(db.session.query(db.Series).all())
versions = uploader.book_formats.get_versions()
vendorpath = os.path.join(config.get_main_dir + "vendor" + os.sep)
vendorpath = os.path.join(config.get_main_dir, "vendor")
if sys.platform == "win32":
kindlegen = os.path.join(vendorpath, u"kindlegen.exe")
else: