Skip to content

Commit

Permalink
fix inccorect merge
Browse files Browse the repository at this point in the history
  • Loading branch information
brumar committed Oct 18, 2024
1 parent eb9bbe0 commit 83854a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions podcastfy/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ def process_content(
podcast.build_transcript()
podcast.transcript.export(os.path.join(directories["transcripts"], random_filename_transcript))
logger.info(f"Transcript generated successfully: {random_filename_transcript}")
return transcript_filepath

return None # note: should return the podcast object instead, but for the sake of the tests, we return None
return random_filename_transcript
except Exception as e:
logger.error(f"An error occurred in the process_content function: {str(e)}")
raise
Expand Down

0 comments on commit 83854a0

Please sign in to comment.