diff options
Diffstat (limited to 'mkbinder.py')
-rwxr-xr-x | mkbinder.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mkbinder.py b/mkbinder.py index 607e197..1bca79a 100755 --- a/mkbinder.py +++ b/mkbinder.py @@ -50,5 +50,6 @@ for category in os.listdir('Links'): failed.append(name) # Output failed downloads -print(failed) -print(failed, file=open('failed', 'w')) +if len(failed) > 0: + print(failed) + print(failed, file=open('failed', 'w')) |