Proxy, Upload

Proxy paramter if behinf nginx
Upload can be done into a folder directly from the webpage
This commit is contained in:
azlux
2017-01-26 00:30:34 +01:00
parent 4f31a99374
commit 54068a151e
5 changed files with 49 additions and 6 deletions

View File

@ -31,15 +31,19 @@ class MumbleBot:
args = parser.parse_args()
self.volume = self.config.getfloat('bot', 'volume')
self.channel = args.channel
var.current_music = None
var.playlist = []
var.user = args.user
var.music_folder = self.config.get('bot', 'music_folder')
var.is_proxified = self.config.getboolean("bot", "is_proxified")
self.exit = False
self.nb_exit = 0
self.thread = None
interface.init_proxy()
t = threading.Thread(target=start_web_interface)
t.daemon = True
t.start()