fixed typo from trades to trade

This commit is contained in:
hippocritical 2023-03-18 20:02:55 +01:00
parent 8987e5f108
commit b1f88e8861

View File

@ -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'