aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/config.py')
-rw-r--r--gallery_dl/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gallery_dl/config.py b/gallery_dl/config.py
index f932e3a..92e55d3 100644
--- a/gallery_dl/config.py
+++ b/gallery_dl/config.py
@@ -322,6 +322,7 @@ class apply():
set(path, key, value)
def __exit__(self, exc_type, exc_value, traceback):
+ self.original.reverse()
for path, key, value in self.original:
if value is util.SENTINEL:
unset(path, key)