aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/converter.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/snippets_translate/converter.py')
-rw-r--r--tools/snippets_translate/converter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snippets_translate/converter.py b/tools/snippets_translate/converter.py
index c846d14ac..757d39abb 100644
--- a/tools/snippets_translate/converter.py
+++ b/tools/snippets_translate/converter.py
@@ -267,7 +267,7 @@ def snippet_translate(x):
v = x.rstrip()
if (not v.endswith(" True") and not v.endswith(" False")
and not v.endswith(" None")):
- x = f"{value}()"
+ x = f"{v}()"
return dstrip(x)
# For constructors, that we now the shape is: