aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/postprocessor/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/postprocessor/common.py')
-rw-r--r--gallery_dl/postprocessor/common.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gallery_dl/postprocessor/common.py b/gallery_dl/postprocessor/common.py
index 3099547..8da8417 100644
--- a/gallery_dl/postprocessor/common.py
+++ b/gallery_dl/postprocessor/common.py
@@ -22,8 +22,7 @@ class PostProcessor():
return self.__class__.__name__
def _init_archive(self, job, options, prefix=None):
- archive_path = options.get("archive")
- if archive_path:
+ if archive_path := options.get("archive"):
extr = job.extractor
archive_table = options.get("archive-table")