add comments and pep8, add div element to html files
This commit is contained in:
@@ -4,6 +4,8 @@ import cherrypy
|
||||
class drop(object):
|
||||
@cherrypy.expose
|
||||
def index(self):
|
||||
''' Method for open specific html file
|
||||
and change it'''
|
||||
with open('templates/drop.html') as fh:
|
||||
index_f = fh.read()
|
||||
result = index_f.format(_title='drop_strana', _heading='drop')
|
||||
|
||||
Reference in New Issue
Block a user