path join bug

, instead of + because get_main_dir is not endswith os.sep
pull/130/head
林檎 7 years ago
parent 90aa269e92
commit 583380e71a

@ -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:

Loading…
Cancel
Save