Skip to content

Commit

Permalink
1335: video_ready_port should be an int (#1336)
Browse files Browse the repository at this point in the history
  • Loading branch information
therealdjryan committed Jul 16, 2021
1 parent 91cf16a commit 5e7cf08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Video/video_ready.py
Expand Up @@ -3,7 +3,7 @@
import json
import psutil

video_ready_port = environ.get('VIDEO_READY_PORT', 9000)
video_ready_port = int(environ.get('VIDEO_READY_PORT', 9000))

class Handler(BaseHTTPRequestHandler):

Expand All @@ -16,4 +16,4 @@ def do_GET(self):
self.wfile.write(json.dumps({'status': response_text}).encode('utf-8'))

httpd = HTTPServer( ('0.0.0.0', video_ready_port), Handler )
httpd.serve_forever()
httpd.serve_forever()

0 comments on commit 5e7cf08

Please sign in to comment.