Skip to content

Commit

Permalink
Fix "Will not watch" functionality for the TV Series. (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-poleh authored and Dmitrii Misharov committed Jan 28, 2020
1 parent 8ee3e28 commit b0d33e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/resources/lib/listitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _addWatchlistContextMenuItem(self, menu_items):
return
label = "Не буду смотреть" if int(in_watchlist) else "Буду смотреть"
url = self.plugin.routing.build_url(
"toggle_watchlist", self.getProperty("id"), int(not int(in_watchlist))
"toggle_watchlist", self.getProperty("id"), added=int(not int(in_watchlist))
)
menu_items.append((label, "Container.Update({})".format(url)))

Expand Down
2 changes: 1 addition & 1 deletion src/resources/lib/routing.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def dispatch(self, path):
)
view_func(**kwargs)
return
raise RoutingException('No route to path "{}"'.format(self.path))
raise RoutingException('No route to path "{}"'.format(path))

def build_icon_path(self, name):
"""Build a path to an icon according to its name"""
Expand Down

0 comments on commit b0d33e7

Please sign in to comment.