mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Small change on the "main" script
This commit is contained in:
parent
62e0ca69f4
commit
d974de38b5
@ -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 web import create_application
|
||||||
|
app = create_application()
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from 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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user