summaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/compare.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-10-03 18:31:58 -0400
commitb8758ecd073910ce3220b2e68399147b425c37b8 (patch)
treed6aee20213508c8f425cbacb3d714367eca904c5 /gallery_dl/postprocessor/compare.py
parente2f67519f8c1750a71aab3dc56b8345fff21bac5 (diff)
New upstream version 1.26.0.upstream/1.26.0
Diffstat (limited to 'gallery_dl/postprocessor/compare.py')
-rw-r--r--gallery_dl/postprocessor/compare.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/gallery_dl/postprocessor/compare.py b/gallery_dl/postprocessor/compare.py
index 910e1d7..3bb63c8 100644
--- a/gallery_dl/postprocessor/compare.py
+++ b/gallery_dl/postprocessor/compare.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
-# Copyright 2020-2021 Mike Fährmann
+# Copyright 2020-2023 Mike Fährmann
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
@@ -10,7 +10,6 @@
from .common import PostProcessor
from .. import text, util, exception
-import sys
import os
@@ -31,7 +30,7 @@ class ComparePP(PostProcessor):
elif equal == "terminate":
self._equal_exc = exception.TerminateExtraction
elif equal == "exit":
- self._equal_exc = sys.exit
+ self._equal_exc = SystemExit
job.register_hooks({"file": (
self.enumerate