From ee24eb7f65e3bd3e2d49f630a1a8af4339bb4c0c Mon Sep 17 00:00:00 2001 From: Sheng Date: Sun, 30 Oct 2022 14:37:11 +0800 Subject: [PATCH] Fixed a bug of getting custom font url --- webssh/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webssh/settings.py b/webssh/settings.py index c9dbbbe..b02b79e 100644 --- a/webssh/settings.py +++ b/webssh/settings.py @@ -70,7 +70,7 @@ class Font(object): return filename.split('.')[0] def get_url(self, filename, dirs): - return os.path.join(*(dirs + [filename])) + return '/'.join(dirs + [filename]) def get_app_settings(options):