Commits

Jason R. Coombs committed f039d9d

Fix issue with loading an integer from environment

  • Participants
  • Parent commits 54ad55a
  • Tags 1.2.1

Comments (0)

Files changed (1)

File jaraco/pmxbot/http.py

 	config = {
 		'global': {
 			'server.socket_host': '::0',
-			'server.socket_port': os.environ.get('PORT', 8080),
+			'server.socket_port': int(os.environ.get('PORT', 8080)),
 		}
 	}
 	cherrypy.config.update(config)