mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-06 13:01:50 +02:00
fix flake8
This commit is contained in:
parent
432b9b3bfb
commit
8a6160ff57
2 changed files with 0 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
||||||
import copy
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from re import match
|
from re import match
|
||||||
|
|
||||||
|
|
|
@ -289,7 +289,6 @@ def render_localized_currency(code, detailed=True):
|
||||||
symbol = get_currency_symbol(code, locale=locale)
|
symbol = get_currency_symbol(code, locale=locale)
|
||||||
details = ""
|
details = ""
|
||||||
if detailed:
|
if detailed:
|
||||||
l10n_name = get_currency_name(code, locale=locale)
|
|
||||||
details = f" − {get_currency_name(code, locale=locale)}"
|
details = f" − {get_currency_name(code, locale=locale)}"
|
||||||
if symbol == code:
|
if symbol == code:
|
||||||
return f"{code}{details}"
|
return f"{code}{details}"
|
||||||
|
|
Loading…
Reference in a new issue