Skip to content

Commit

Permalink
Bug fix #20
Browse files Browse the repository at this point in the history
  • Loading branch information
d0u9 committed May 13, 2018
1 parent 3110674 commit fe67a78
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions youtube_dl_webui/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,13 +124,14 @@ class Server(Process):
def __init__(self, msg_cli, host, port):
super(Server, self).__init__()

global MSG
MSG = msg_cli
self.msg_cli = msg_cli

self.host = host
self.port = port

def run(self):
global MSG
MSG = self.msg_cli
app.run(host=self.host, port=int(self.port), use_reloader=False)


0 comments on commit fe67a78

Please sign in to comment.