Fixed a bug of getting custom font url
This commit is contained in:
+1
-1
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user