Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Commit

Permalink
Added color to more messages
Browse files Browse the repository at this point in the history
  • Loading branch information
PraneethJain committed Jun 13, 2022
1 parent 8ead6e3 commit 703c392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def complete(self, i):
episode = self.episodes_unwatched[i]
self.episodes_unwatched.pop(i)
self.update_unwatched()
return f"Completed {episode['show']} {episode['ep']}"
return f"[green bold]Completed {episode['show']} {episode['ep']}[/green bold]"

def add_show(self, show: str):
self.load_shows_watching()
Expand All @@ -92,7 +92,7 @@ def remove_show(self, i):
removed_show = self.shows_watching.pop(i)
with open(resource_path("data/shows_watching.json"), "w") as f:
json.dump(self.shows_watching, f)
return f"Removed {removed_show}"
return f"[magenta]Removed [bold]{removed_show}[/bold][/magenta]"

def watching_shows(self):
table = Table(title="Shows Watching")
Expand Down

0 comments on commit 703c392

Please sign in to comment.