forked from indymedia/epicyon
Detecting fonts
parent
a6b395c068
commit
e6fb9842dd
|
@ -1739,7 +1739,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings, 21)
|
self._benchmarkGETtimings(GETstartTime, GETtimings, 21)
|
||||||
|
|
||||||
# get fonts
|
# get fonts
|
||||||
if self.path.startswith('/fonts/'):
|
if '/fonts/' in self.path:
|
||||||
fontStr = self.path.split('/fonts/')[1]
|
fontStr = self.path.split('/fonts/')[1]
|
||||||
if fontsStr.endswith('.otf') or \
|
if fontsStr.endswith('.otf') or \
|
||||||
fontsStr.endswith('.ttf') or \
|
fontsStr.endswith('.ttf') or \
|
||||||
|
|
Loading…
Reference in New Issue