aboutsummaryrefslogtreecommitdiffstats
path: root/tools/snippets_translate/main.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-27 14:54:50 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-11-27 19:37:24 +0100
commitb133b16324647d68534558038901105206794f09 (patch)
treede6c3d4eb3ac4928399c4a4795ca8e5511ea9bb9 /tools/snippets_translate/main.py
parent6fd1e6619b0aeef1f7e916e474693157450e765f (diff)
snippets_translate: Fix broken logging
Amends 742a39962f1ba9c0e42f387394768c13793144c0 Pick-to: 6.2 Task-number: PYSIDE-1721 Change-Id: Ib1cbfd99a7a96e902df4f273c0b997e694a6a7a9 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'tools/snippets_translate/main.py')
-rw-r--r--tools/snippets_translate/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/snippets_translate/main.py b/tools/snippets_translate/main.py
index 53a941a8c..94408a483 100644
--- a/tools/snippets_translate/main.py
+++ b/tools/snippets_translate/main.py
@@ -298,7 +298,7 @@ def translate_file(file_path, final_path, debug, write):
out_f.write("\n")
if not opt_quiet:
- log.info(f"Written: {written_file}")
+ log.info(f"Written: {target_file}")
else:
if not opt_quiet:
log.warning("No snippets were found")