mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-10 04:02:17 +00:00
14 lines
217 B
Python
14 lines
217 B
Python
|
# coding: utf-8
|
||
|
|
||
|
from web import app
|
||
|
import db, config
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
if not config.check():
|
||
|
print >>sys.stderr, "Couldn't find configuration file"
|
||
|
sys.exit(1)
|
||
|
|
||
|
db.init_db()
|
||
|
app.run(debug = True)
|
||
|
|