bugfix
This commit is contained in:
parent
8914c1810d
commit
26b01e96ac
@ -172,7 +172,7 @@ class MarkdownProcessor(BaseProcessor):
|
||||
|
||||
async def datahandle(self,request:Request):
|
||||
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()
|
||||
self.content = self.urlreplace(data, request)
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import os,sys
|
||||
import time
|
||||
import ssl
|
||||
from socket import *
|
||||
from aiohttp import web
|
||||
|
Loading…
Reference in New Issue
Block a user