Pep8 update

This commit is contained in:
Vansh Comar 2021-11-18 13:01:11 +05:30
parent 265f2740ee
commit 3d1cb3d3e0

View File

@ -252,19 +252,17 @@ def check_currency(response: str):
def add_currency_b(soup: BeautifulSoup, def add_currency_b(soup: BeautifulSoup,
conversion_details: list) -> BeautifulSoup: conversion_details: list) -> BeautifulSoup:
"""Adds the conversion input boxes to the search result """Adds the currency conversion boxes
to response of the search query
Args: Args:
soup: The parsed search result soup: Parsed search result
containing currency conversion conversion_details: list of currency
conversion_details: Floating point number related information
to be used for conversion
Returns: Returns:
BeautifulSoup BeautifulSoup
""" """
# Element before which the code will be changed # Element before which the code will be changed
# (This is the 'disclaimer' link) # (This is the 'disclaimer' link)
element1 = soup.select_one('[class="nXE3Ob"]') element1 = soup.select_one('[class="nXE3Ob"]')