From e72ccc49884d105b0329f282469675794dbe9abf Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Thu, 16 Apr 2020 10:10:18 -0600 Subject: [PATCH] Small change to mobile styling --- app/filter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/filter.py b/app/filter.py index 3c21bf8..f218068 100644 --- a/app/filter.py +++ b/app/filter.py @@ -73,9 +73,8 @@ class Filter: # Update logo logo = soup.find('a', {'class': 'l'}) - if logo is not None and self.mobile: - logo.insert(0, 'Shoogle') - logo['style'] = 'display: flex;justify-content: center;align-items: center;color: #685e79;font-size: 18px;' + if logo and self.mobile: + logo['style'] = 'display:flex; justify-content:center; align-items:center; color:#685e79; font-size:18px;' # Replace hrefs with only the intended destination (no "utm" type tags) for a in soup.find_all('a', href=True):