summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-12-31 21:10:22 +0100
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-12-31 21:10:22 +0100
commit64ef1a8c53d5e2f3c235971fb4c61ecffcdc59c5 (patch)
tree0526d7ed24b6723eacf1b93d8cbe588228f9eafe
parent[Hoster] Update (diff)
downloadpyload-64ef1a8c53d5e2f3c235971fb4c61ecffcdc59c5.tar.xz
[Crypter] Update
-rw-r--r--module/plugins/internal/Crypter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/Crypter.py b/module/plugins/internal/Crypter.py
index e3431834c..665dd3705 100644
--- a/module/plugins/internal/Crypter.py
+++ b/module/plugins/internal/Crypter.py
@@ -7,7 +7,7 @@ from module.plugins.internal.misc import parse_name, safename
class Crypter(Base):
__name__ = "Crypter"
__type__ = "crypter"
- __version__ = "0.17"
+ __version__ = "0.18"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
@@ -68,10 +68,10 @@ class Crypter(Base):
folder_per_package = self.config.get('folder_per_package', "Default")
- if folder_per_package is "Default":
+ if folder_per_package == "Default":
folder_per_package = self.pyload.config.get("general", "folder_per_package")
else:
- folder_per_package = folder_per_package is "Yes"
+ folder_per_package = folder_per_package == "Yes"
for name, links, folder in self.packages:
self.log_info(_("Create package: %s") % name,