mirror of https://gitlab.com/bashrc2/epicyon
Try custom emoji if default not found
parent
d414e204bb
commit
4bcc4930d2
|
@ -6723,6 +6723,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
if isImageFile(path):
|
if isImageFile(path):
|
||||||
emojiStr = path.split('/emoji/')[1]
|
emojiStr = path.split('/emoji/')[1]
|
||||||
emojiFilename = baseDir + '/emoji/' + emojiStr
|
emojiFilename = baseDir + '/emoji/' + emojiStr
|
||||||
|
if not os.path.isfile(emojiFilename):
|
||||||
|
emojiFilename = baseDir + '/emojicustom/' + emojiStr
|
||||||
if os.path.isfile(emojiFilename):
|
if os.path.isfile(emojiFilename):
|
||||||
if self._etag_exists(emojiFilename):
|
if self._etag_exists(emojiFilename):
|
||||||
# The file has not changed
|
# The file has not changed
|
||||||
|
|
Loading…
Reference in New Issue