mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-13 06:42:16 +00:00
Changed no-files-found exit code to non-zero
This commit is contained in:
@@ -105,7 +105,7 @@ files = [os.path.join(loc,x) for x in files] # append path to file name
|
||||
# Warn if no files are found, then exit
|
||||
if files.__len__() == 0:
|
||||
print colour('No files found','red')
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
errors = {
|
||||
|
||||
Reference in New Issue
Block a user