1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00

Merge branch 'issue22'

This commit is contained in:
spl0k 2014-05-06 19:37:40 +02:00
commit 490a01849f

View File

@ -19,12 +19,11 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
import sys from supysonic.web import create_application
app = create_application()
if __name__ == '__main__': if __name__ == '__main__':
from supysonic.web import create_application
app = create_application()
if app: if app:
import sys
app.run(host = sys.argv[1] if len(sys.argv) > 1 else None, debug = True) app.run(host = sys.argv[1] if len(sys.argv) > 1 else None, debug = True)