Fix a bug in patchport
This commit is contained in:
parent
29ca523bfe
commit
fec4f2ae24
1 changed files with 2 additions and 1 deletions
|
@ -119,7 +119,8 @@ for patch in os.listdir(os.path.join(cutthecord_folder, "patches")):
|
||||||
with open(out_path, "w") as f:
|
with open(out_path, "w") as f:
|
||||||
f.write(patch_contents)
|
f.write(patch_contents)
|
||||||
|
|
||||||
print(f"PORTED: {patch} was successfully ported.")
|
if not out_path.endswith("-failed"):
|
||||||
|
print(f"PORTED: {patch} was successfully ported.")
|
||||||
|
|
||||||
if failures:
|
if failures:
|
||||||
print(f"Port complete. Following patches failed: {', '.join(failures)}")
|
print(f"Port complete. Following patches failed: {', '.join(failures)}")
|
||||||
|
|
Reference in a new issue