bugfix
This commit is contained in:
parent
06e894cb8f
commit
7ac39cd2fc
@ -230,6 +230,8 @@ async def base642file(b64str):
|
|||||||
async def b64media2url(request, mediafile):
|
async def b64media2url(request, mediafile):
|
||||||
if mediafile.startswith('http://') or mediafile.startswith('https://'):
|
if mediafile.startswith('http://') or mediafile.startswith('https://'):
|
||||||
return mediafile
|
return mediafile
|
||||||
|
if mediafile.startswith('asset://'):
|
||||||
|
return mediafile
|
||||||
webpath = mediafile
|
webpath = mediafile
|
||||||
if mediafile.startswith('data:'):
|
if mediafile.startswith('data:'):
|
||||||
fpath = await base642file(mediafile)
|
fpath = await base642file(mediafile)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user