bugfix
This commit is contained in:
parent
8914c1810d
commit
26b01e96ac
@ -172,7 +172,7 @@ class MarkdownProcessor(BaseProcessor):
|
|||||||
|
|
||||||
async def datahandle(self,request:Request):
|
async def datahandle(self,request:Request):
|
||||||
data = ''
|
data = ''
|
||||||
with codecs.open(self.real_path,'rb','utf-8') as f:
|
with codecs.open(self.real_path,'r','utf-8') as f:
|
||||||
data = f.read()
|
data = f.read()
|
||||||
self.content = self.urlreplace(data, request)
|
self.content = self.urlreplace(data, request)
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import os,sys
|
import os,sys
|
||||||
|
import time
|
||||||
import ssl
|
import ssl
|
||||||
from socket import *
|
from socket import *
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
Loading…
Reference in New Issue
Block a user