1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00

Small change on the "main" script

This commit is contained in:
spl0k 2014-05-04 16:04:50 +02:00
parent 62e0ca69f4
commit d974de38b5

View File

@ -19,12 +19,11 @@
# 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/>.
import sys
from web import create_application
app = create_application()
if __name__ == '__main__':
from web import create_application
app = create_application()
if app:
import sys
app.run(host = sys.argv[1] if len(sys.argv) > 1 else None, debug = True)