A small Python script to pick lyrics, which I can use for our company lunch-game "LyricsPop".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

24 lines
585 B

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from flask.ext.script import Manager
from flask.ext.script import Server
from lyrics import app
import logging
# starts the logging service, always
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG,
format='%(levelname)s:%(name)s '
'[%(funcName)s:%(lineno)d]:%(message)s')
manager = Manager(app)
manager.add_command('runserver', Server(use_debugger=True,
use_reloader=True))
if __name__ == '__main__':
manager.run()