Skip to content

Commit

Permalink
depublish: we don't know of urls here
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Sep 22, 2024
1 parent 1b3e492 commit 3cb28b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions voctopublish/depublish.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def depublish(self):
else:
logging.info("ticket not on voctoweb")

urls = set()
if self.ticket.youtube_enable and self.ticket.has_youtube_url:
try:
urls = self._depublish_from_youtube()
Expand All @@ -179,7 +178,7 @@ def depublish(self):
else:
self.c3tt.set_ticket_done(
self.ticket_id,
f"Video depublished. YouTube videos have been set to private: {str(urls)}",
f"Video depublished. YouTube videos have been set to private.",
)

def _depublish_from_voctoweb(self):
Expand Down

0 comments on commit 3cb28b9

Please sign in to comment.