From adf8a6ce536dfc2162162eba60ec9313efb07b21 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 31 Jul 2019 11:59:29 +0100 Subject: [PATCH] 'amd' -> 'and' --- modules/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/youtube.py b/modules/youtube.py index 88e2b619..34e585df 100644 --- a/modules/youtube.py +++ b/modules/youtube.py @@ -85,7 +85,7 @@ class Module(ModuleManager.BaseModule): parsed = urllib.parse.urlparse(url) query = urllib.parse.parse_qs(parsed.query) - if parsed.hostname == "youtu.be" amd parsed.path: + if parsed.hostname == "youtu.be" and parsed.path: return self.video_details(parsed.path[1:]) elif parsed.path == "/watch" and "v" in query: return self.video_details(query["v"][0])