Skip to content

Commit

Permalink
fix: Completion message shows as human-readable string (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
janw authored Jan 17, 2024
1 parent 85c4d3d commit 5acef8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podcast_archiver/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def process(self, url: AnyHttpUrl) -> ProcessingResult:
futures, completion_msg = self._process_episodes(feed=feed)
self._handle_futures(futures, result=result)

console.print(f"\n[bar.finished]✔ {completion_msg}[/]")
console.print(f"\n[bar.finished]✔ {completion_msg.value}[/]")
return result

def _process_episodes(self, feed: Feed) -> tuple[list[Future[DownloadJob]], QueueCompletionType]:
Expand Down

0 comments on commit 5acef8d

Please sign in to comment.