mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-14 03:50:10 -04:00
Merge pull request #202 from jrenner/master
fixed crash bug related to custom port with '-p' arg
This commit is contained in:
@@ -3610,7 +3610,7 @@ def main():
|
||||
if server_tag:
|
||||
# Init the server
|
||||
print(_("Glances server is running on") + " %s:%s" % (bind_ip, server_port))
|
||||
server = GlancesServer(bind_ip, server_port, GlancesHandler, refresh_time)
|
||||
server = GlancesServer(bind_ip, int(server_port), GlancesHandler, refresh_time)
|
||||
|
||||
# Set the server login/password (if -P tag)
|
||||
if password != "":
|
||||
|
||||
Reference in New Issue
Block a user