update gallery-dl.conf

This commit is contained in:
Mike Fährmann
2017-07-13 16:36:50 +02:00
parent 9be8f7e106
commit 3460dc8950
3 changed files with 26 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ class DeviantartGalleryExtractor(DeviantartExtractor):
]
def deviations(self):
if self.api.user_profile(self.user) and self.flat:
if self.flat and self.api.user_profile(self.user):
return self.api.gallery_all(self.user, self.offset)
else:
folders = self.api.gallery_folders(self.user)