mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 17:06:17 +00:00
Merge branch 'issue22'
This commit is contained in:
commit
490a01849f
@ -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 supysonic.web import create_application
|
||||
app = create_application()
|
||||
|
||||
if __name__ == '__main__':
|
||||
from supysonic.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)
|
||||
|
Loading…
Reference in New Issue
Block a user