Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit cbb74f34 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

fix qwant engine

parent cfc5b58f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -221,7 +221,7 @@ def response(resp):
                content = " // ".join(content_parts)
                content = " // ".join(content_parts)
                length = item["duration"]
                length = item["duration"]
                if length is not None:
                if length is not None:
                    length = timedelta(milliseconds=length)
                    length = str(timedelta(milliseconds=length))                
                pub_date = item["date"]
                pub_date = item["date"]
                if pub_date is not None:
                if pub_date is not None:
                    pub_date = datetime.fromtimestamp(pub_date)
                    pub_date = datetime.fromtimestamp(pub_date)