mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-27 23:39:32 +01:00
14 lines
260 B
Python
Executable File
14 lines
260 B
Python
Executable File
#!/usr/bin/env python
|
|
import os
|
|
import cherrypy
|
|
from webServer import Headphones
|
|
|
|
|
|
|
|
#path to config_file
|
|
config_file = os.path.join(os.path.dirname(__file__), 'server.conf')
|
|
|
|
if __name__ == '__main__':
|
|
cherrypy.quickstart(Headphones(), config=config_file)
|
|
|