Browse Source

Fixed a bug of getting custom font url

pull/305/head
Sheng 2 years ago
parent
commit
ee24eb7f65
  1. 2
      webssh/settings.py

2
webssh/settings.py

@ -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…
Cancel
Save