Skip to content
Snippets Groups Projects
Commit 49d2947d authored by Fabian Schuh's avatar Fabian Schuh
Browse files

[price] remove irrelevant space

parent e3c2ca59
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ class Price(dict):
self["base"] = base
elif (len(args) == 2 and
(isinstance(args[0], float) or isinstance(args[0], int)) and
(isinstance(args[0], float) or isinstance(args[0], int)) and
isinstance(args[1], str)):
import re
price = args[0]
......@@ -186,7 +186,7 @@ class Price(dict):
}
def __repr__(self):
return "{price:.{precision}f} {base}/{quote} ".format(
return "{price:.{precision}f} {base}/{quote}".format(
price=self["price"],
base=self["base"]["symbol"],
quote=self["quote"]["symbol"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment