fixed typo from trades to trade
This commit is contained in:
parent
8987e5f108
commit
b1f88e8861
@ -181,7 +181,7 @@ class NameUpdater(ast_comments.NodeTransformer):
|
|||||||
def visit_Attribute(self, node):
|
def visit_Attribute(self, node):
|
||||||
if (
|
if (
|
||||||
isinstance(node.value, ast_comments.Name)
|
isinstance(node.value, ast_comments.Name)
|
||||||
and node.value.id == 'trades'
|
and node.value.id == 'trade'
|
||||||
and node.attr == 'nr_of_successful_buys'
|
and node.attr == 'nr_of_successful_buys'
|
||||||
):
|
):
|
||||||
node.attr = 'nr_of_successful_entries'
|
node.attr = 'nr_of_successful_entries'
|
||||||
|
Loading…
Reference in New Issue
Block a user