Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions src/audiomass-server.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import SimpleHTTPServer
import SocketServer
PORT = 5055
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
print "serving at port", PORT
import http.server
import socketserver
PORT = 5055
Handler = http.server.SimpleHTTPRequestHandler
httpd = socketserver.TCPServer(("", PORT), Handler)
print('Open the link below in your browser')
print('http://localhost:5055')
httpd.serve_forever()