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]
|
return filename.split('.')[0]
|
||||||
|
|
||||||
def get_url(self, filename, dirs):
|
def get_url(self, filename, dirs):
|
||||||
return os.path.join(*(dirs + [filename]))
|
return '/'.join(dirs + [filename])
|
||||||
|
|
||||||
|
|
||||||
def get_app_settings(options):
|
def get_app_settings(options):
|
||||||
|
|
Loading…
Reference in New Issue