We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a3efdf commit fc47632Copy full SHA for fc47632
1 file changed
bases/rsptx/author_server_api/main.py
@@ -313,7 +313,9 @@ async def subchapmap(
313
@app.get("/author/getlog/{book}")
314
async def getlog(request: Request, book, user=Depends(auth_manager)):
315
book_entry = await fetch_library_book(book)
316
- if (
+ if (pathlib.Path(f"/books/{book}") / "author_build.log").exists():
317
+ work_dir = f"/books/{book}"
318
+ elif (
319
book_entry
320
and book_entry.repo_path
321
and (pathlib.Path(book_entry.repo_path) / "author_build.log").exists()
0 commit comments