We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d9175 commit 89512b9Copy full SHA for 89512b9
src/ectool/unpkg.py
@@ -86,7 +86,7 @@ def binpkg_unpack(path_or_data, outpath_dir=None, ram=False, debug=False) :
86
if outpath_dir :
87
with open(os.path.join(outpath_dir, "image_info.json"), "w") as f :
88
json.dump(jdata, f, indent=2)
89
- if debug :
+ if outpath_dir and debug :
90
print(json.dumps(jdata, indent=2))
91
return jdata
92
0 commit comments