-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relates to issue #5. Signed-off-by: Vinicius Kwiecien Ruoso <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,23 +14,13 @@ | |
|
||
|
||
images = { | ||
'rico': { | ||
'url': ( | ||
'https://www.rico.com.vc/Util/Image/cabecalho/logo-rico-main.png' | ||
) | ||
}, | ||
u'itaú': { | ||
'url': ( | ||
'https://www.itau.com.br/' | ||
'_arquivosestaticos/Itau/defaultTheme/img/logo-itau.png' | ||
) | ||
}, | ||
'easy': { | ||
'url': ( | ||
'https://www.easynvest.com.br/' | ||
'Pictures/Menu/[email protected]' | ||
) | ||
} | ||
u'brasil plural': 'http://www.brasilplural.com/Site/Content/Img/logo.png', | ||
u'clear': 'https://www.clear.com.br/site/Content/styles/img/im_lg_h.png', | ||
u'cm capital': 'http://bancodata.com.br/assets/img/logos/cm-capital-markets_m.jpg', # noqa: E501 | ||
u'easy': 'https://www.easynvest.com.br/Pictures/Menu/[email protected]', # noqa: E501 | ||
u'itaú': 'https://www.itau.com.br/_arquivosestaticos/Itau/defaultTheme/img/logo-itau.png', # noqa: E501 | ||
u'modal': 'http://bancodata.com.br/assets/img/logos/bco-modal-sa_m.jpg', | ||
u'rico': 'https://www.rico.com.vc/Util/Image/cabecalho/logo-rico-main.png', | ||
} | ||
|
||
|
||
|
@@ -43,7 +33,7 @@ def format(number): | |
def get_image(brokerage): | ||
for name, image in images.iteritems(): | ||
if name in brokerage.lower(): | ||
return image['url'] | ||
return image | ||
|
||
|
||
def diff_color(new, old, invert=False): | ||
|