This commit is contained in:
MLH
2024-12-10 01:53:09 +01:00
parent 23ca0c1fa8
commit 1fcd0452f8

View File

@ -252,7 +252,7 @@ def main():
print("Errors occurred during the process. Check the output for details.")
print(f"{errorList['copies']} copy errors.")
print(f"{errorList['modifications']} modification errors.")
elif errorList["warnings"] > 0:
elif errorList["copyWarnings"] > 0 or errorList["modWarnings"] > 0:
print(f"All operations in {destinationDirectory} from {configPath} completed successfully! But there were {errorList['modWarnings'] + errorList['copyWarnings']} warnings. Mybe you should check them.")
else:
print(f"All operations in {destinationDirectory} from {configPath} completed successfully!")