Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 9a7c92d

Browse files
committed
fix bad imports
1 parent 8bc66f2 commit 9a7c92d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

runestone/server/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import datetime
1717
import os
18+
import re
1819
import subprocess
1920
import sys
2021
from pathlib import Path
@@ -313,7 +314,7 @@ def update_library(
313314

314315

315316
def find_real_url(book):
316-
idx = pathlib.Path("published", book, "index.html")
317+
idx = Path("published", book, "index.html")
317318
if idx.exists():
318319
with open(idx, "r") as idxf:
319320
for line in idxf:

0 commit comments

Comments
 (0)