mirror of https://github.com/huashengdun/webssh
Fixed a bug of getting custom font url
parent
4aec063197
commit
ee24eb7f65
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue