def guncelle(request):
komut="git pull > guncelleme.log"
durum=yield from komutar(komut)
log=open("guncelleme.log","r").read()
loghtml="<html>güncellendi:<p>"+log+"<p><a href='/'>ana sayfa</a> </html>"
return web.Response(body=loghtml.encode(kodsayfasi))
评论列表
文章目录