mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
Differentiate source directory is empty errors (#1113)
This commit is contained in:
@@ -650,7 +650,7 @@ def imgDirectoryProcessing(path):
|
||||
raise RuntimeError("One of workers crashed. Cause: " + workerOutput[0][0], workerOutput[0][1])
|
||||
else:
|
||||
rmtree(os.path.join(path, '..', '..'), True)
|
||||
raise UserWarning("Source directory is empty.")
|
||||
raise UserWarning("C2E: Source directory is empty.")
|
||||
|
||||
|
||||
def imgFileProcessingTick(output):
|
||||
|
||||
Reference in New Issue
Block a user