Skip to content

Commit ed4aed6

Browse files
committed
fix bug on theme
1 parent 3dedf8f commit ed4aed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

comiclib/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ def csshead():
537537
css_default_data = {"g.css": "H-Verse", "modern.css": "Hachikuji",
538538
"modern_clear.css": "Yotsugi", "modern_red.css": "Nadeko", "ex.css": "Sad Panda"}
539539
themes_header = ""
540-
for p in Path("/home/root/LANraragi/public/themes").glob("*.css"):
540+
for p in (app_path / "LANraragi/public/themes").glob("*.css"):
541541
if p.name == config_style:
542542
themes_header += f'<link rel="stylesheet" type="text/css" title="{css_default_data.get(p.name, p.name)}" href="/themes/{p.name}">'
543543
else:

0 commit comments

Comments
 (0)