aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/deliver_file2disk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/deliver_file2disk.py b/bin/deliver_file2disk.py
index 49e0c73..e5f13c0 100755
--- a/bin/deliver_file2disk.py
+++ b/bin/deliver_file2disk.py
@@ -123,7 +123,7 @@ class DeliverFatcatDisk:
"""
good = []
for f in files:
- if f['mimetype'] and not 'pdf' in f['mimetype'].lower():
+ if f.get('mimetype') and not 'pdf' in f['mimetype'].lower():
continue
for url in f['urls']:
if 'archive.org/' in url['url']: