Commits

Jason R. Coombs committed 36e19a8

Accept the web port from the environment

  • Participants
  • Parent commits 09733ce
  • Tags 1103.0.2

Comments (0)

Files changed (1)

File pmxbot/web/__init__.py

 config = ConfigDict(
 	web_base = '',
 	host = '::0',
-	port = os.environ.get('PORT', 8080),
+	port = int(os.environ.get('PORT', 8080)),
 )