Merge pull request #311 from lbryio/fix-server-port

port needs to be an int
This commit is contained in:
Job Evers‐Meltzer 2016-12-06 09:48:08 -05:00 committed by GitHub
commit 8b427a92ac

View file

@ -111,7 +111,7 @@ class Env(envparse.Env):
def server_port(server_port): def server_port(server_port):
server, port = server_port.split(':') server, port = server_port.split(':')
return server, port return server, int(port)
DEFAULT_DHT_NODES = [ DEFAULT_DHT_NODES = [