Skip to content

Commit

Permalink
Removed automatic START command from FabBcastWordByWordPresenter
Browse files Browse the repository at this point in the history
  • Loading branch information
alumae committed Mar 10, 2022
1 parent 0773d3d commit 27bf37a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions presenters.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ class FabBcastWordByWordPresenter(AbstractWordByWordPresenter):
def __init__(self, fab_bcast_url):
super().__init__()
self.fab_bcast_url = fab_bcast_url
try:
resp = requests.get(url=f"{self.fab_bcast_url}/start")
logging.info(f"Response status {resp.status_code} {resp.reason}: {resp.text}")
except Exception:
logging.error("Couldn't send start command to BCAST", exc_info=True)

def _send_word(self, word):
logging.info("Sending captions to FAB Subtitler BCAST")
Expand Down

0 comments on commit 27bf37a

Please sign in to comment.