This commit is contained in:
Vyacheslav Anzhiganov 2015-12-23 02:39:03 +03:00
parent 4984527b10
commit 307b751265
2 changed files with 4 additions and 3 deletions

View file

@ -11,9 +11,9 @@ viewKB = Blueprint('kb', __name__, url_prefix='/kb')
@viewKB.route('/')
def index():
kb_markdown = ''
kb_markdown = u''
for ss in file('kb/README.md', 'r'):
kb_markdown += ss
kb_markdown += ss.decode('UTF-8')
return render_template(
'default/kb/index.html',

View file

@ -1,8 +1,9 @@
Flask==0.10.1
Flask-Markdown==0.3
Flask-Babel==0.9
psycopg2==2.6.1
requests==2.7.0
uWSGI==2.0.11.1
wsgiref==0.1.2
validators
sshpubkeys
sshpubkeys