mirror of
https://github.com/ciromattia/kcc
synced 2026-09-26 20:57:07 +00:00
General refactoring and tweaks
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ class MetadataParser:
|
||||
stdout=PIPE, stderr=STDOUT, shell=True)
|
||||
extracted = False
|
||||
for line in output.stdout:
|
||||
if b"Everything is Ok" in line:
|
||||
if b"Everything is Ok" in line or b"No files to process" in line:
|
||||
extracted = True
|
||||
if not extracted:
|
||||
rmtree(workdir)
|
||||
|
||||
Reference in New Issue
Block a user