Private GIT

Skip to content
Snippets Groups Projects
Commit ee3c8d71 authored by Ruud's avatar Ruud
Browse files

Manual download fix

parent 5eb59636
Branches
Tags
No related merge requests found
......@@ -45,4 +45,5 @@ class Downloader(Plugin):
return not self.isEnabled(manual)
def isEnabled(self, manual):
return super(Downloader, self).isEnabled() and ((self.conf('manual', default = False) and manual) or manual is True)
d_manual = self.conf('manual', default = False)
return super(Downloader, self).isEnabled() and ((d_manual and manual) or (d_manual is False))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment