summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/helpers.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index 4b5a77e0..95715d07 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -603,7 +603,7 @@ def fetch_user(sid, client, headers)
email = feed.xpath_node(%q(//a[@class="yt-masthead-picker-header yt-masthead-picker-active-account"]))
if email
- email = email.content.lstrip.rstrip
+ email = email.content.strip
else
email = ""
end