mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:25:56 +08:00
make print statement more informative
CURA-9814
This commit is contained in:
parent
3478c0af6c
commit
912429bb18
@ -92,7 +92,7 @@ else:
|
|||||||
|
|
||||||
jsondatadict = json.load(data_file, object_pairs_hook=collections.OrderedDict)
|
jsondatadict = json.load(data_file, object_pairs_hook=collections.OrderedDict)
|
||||||
if "settings" not in jsondatadict:
|
if "settings" not in jsondatadict:
|
||||||
print("No settings item found, nothing to translate")
|
print(f"Nothing to translate in file: {jsondatadict}")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
processSettings(jsonfilename.replace(basedir, ""), jsondatadict["settings"])
|
processSettings(jsonfilename.replace(basedir, ""), jsondatadict["settings"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user