Skip to content

Commit

Permalink
v3.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lekma committed Oct 15, 2024
1 parent a48bc36 commit 07d86ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.invidious"
name="Invidious"
version="3.2.5"
version="3.2.6"
provider-name="lekma">

<requires>
Expand Down
2 changes: 1 addition & 1 deletion lib/invidious/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __error__(self, result, notify=True):
return (False, result)

def __get__(self, url, notify=True, **kwargs):
if (response := self.get(url, notify=notify, params=kwargs)):
if ((response := self.get(url, notify=notify, params=kwargs)) is not None):
notified, result = self.__error__(response.json(), notify=notify)
try:
response.raise_for_status()
Expand Down

0 comments on commit 07d86ef

Please sign in to comment.