mirror of
https://github.com/nikdoof/tvorganise.git
synced 2025-12-22 14:29:24 +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
|
# Warn if no files are found, then exit
|
||||||
if files.__len__() == 0:
|
if files.__len__() == 0:
|
||||||
print colour('No files found','red')
|
print colour('No files found','red')
|
||||||
sys.exit(0)
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
errors = {
|
errors = {
|
||||||
|
|||||||
Reference in New Issue
Block a user