From 39f1f2c162ebbe0ea9157876220a41ef2cdd85ac Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Mon, 26 Feb 2018 00:06:22 +0100 Subject: [PATCH] change order of operator --- lib/svtplay_dl/service/dplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/service/dplay.py b/lib/svtplay_dl/service/dplay.py index f921009..d6567c6 100644 --- a/lib/svtplay_dl/service/dplay.py +++ b/lib/svtplay_dl/service/dplay.py @@ -135,7 +135,7 @@ class Dplay(Service): res = self.http.get("https://disco-api.{}/content/videos?{}".format(self.domain, qyerystring)) janson = res.json() for i in janson["data"]: - if not premium and not "Free" in i["attributes"]["packages"]: + if not premium and "Free" not in i["attributes"]["packages"]: continue episodes.append("https://www.{}/videos/{}".format(self.domain, i["attributes"]["path"])) if len(episodes) == 0: