Fixed a bug of getting custom font url

pull/305/head
Sheng 2022-10-30 14:37:11 +08:00
parent 4aec063197
commit ee24eb7f65
1 changed files with 1 additions and 1 deletions

View File

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