summaryrefslogtreecommitdiffstats
path: root/4grab.py
diff options
context:
space:
mode:
Diffstat (limited to '4grab.py')
-rwxr-xr-x4grab.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/4grab.py b/4grab.py
index c728dfc..0e20745 100755
--- a/4grab.py
+++ b/4grab.py
@@ -30,6 +30,7 @@ import util
import download
import progressbar
import sorter
+import backend
config._optioncreator = raw_input_with_default
@@ -202,6 +203,9 @@ if __name__ == "__main__":
print "Failed: ", failed
print "Total: ", total
except KeyboardInterrupt:
+ be = backend.Backend()
+ be.save(True) # Make sure that the downloaded images are saved anyway
+
print
print "So you don't want these images? Fine! I'll stop then."
util.log(util.LogType.Err, "Quit on user request")