make print statement more informative

CURA-9814
This commit is contained in:
Joey de l'Arago 2023-01-16 16:04:40 +01:00
parent 3478c0af6c
commit 912429bb18

View File

@ -92,7 +92,7 @@ else:
jsondatadict = json.load(data_file, object_pairs_hook=collections.OrderedDict)
if "settings" not in jsondatadict:
print("No settings item found, nothing to translate")
print(f"Nothing to translate in file: {jsondatadict}")
exit(1)
processSettings(jsonfilename.replace(basedir, ""), jsondatadict["settings"])