Commit 8d3b1109 authored by Vincent Texier's avatar Vincent Texier Committed by Romain Bignon

Fix bug is_logged function

closes #1423
Signed-off-by: default avatarVincent Texier <>
Signed-off-by: Romain Bignon's avatarRomain Bignon <>
parent 41f07101
......@@ -67,7 +67,7 @@ class ForbiddenVideo(UserError):
class BaseYoutubePage(BasePage):
def is_logged(self):
try:, 'span#yt-masthead-user-displayname', 1), 'span#yt-masthead-account-picker', 1)
except BrokenPageError:
return False
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment