Fix crash due to invalid parameter

This commit is contained in:
Matthias 2023-01-02 08:51:54 +01:00 committed by GitHub
parent 66f7c91357
commit e89609dc3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ class StrategyUpdater:
tree = ast.parse(code)
# use the AST to update the code
updated_code = self.modify_ast(self, tree)
updated_code = self.modify_ast(tree)
# return the modified code without executing it
return updated_code