File: run.py

package info (click to toggle)
flask-autoindex 0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 288 kB
  • ctags: 165
  • sloc: python: 748; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 162 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
import os.path
from flask import Flask
from flask.ext.autoindex import AutoIndex


app = Flask(__name__)
AutoIndex(app)

if __name__ == '__main__':
    app.run()