summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/deviantart.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/deviantart.py')
-rw-r--r--gallery_dl/extractor/deviantart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/deviantart.py b/gallery_dl/extractor/deviantart.py
index 8172f62..59b2d6d 100644
--- a/gallery_dl/extractor/deviantart.py
+++ b/gallery_dl/extractor/deviantart.py
@@ -822,7 +822,7 @@ x2="45.4107524%" y2="71.4898596%" id="app-root-3">\
username, folder["gallery_id"], public=False):
cache[dev["deviationid"]] = dev if has_access else None
- return cache[deviation["deviationid"]]
+ return cache.get(deviation["deviationid"])
def _unwatch_premium(self):
for username in self.unwatch: