diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-02-02 18:48:06 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-02-02 18:48:06 +0100 |
commit | 7b6a9a68dfbf67f075bfe86e67be5390da4b8c1d (patch) | |
tree | fe061fd9a88ad0e2d9cedbf6800f1a2b7b6a890f /module/plugins/internal/SimpleCrypter.py | |
parent | [UploadedTo] Improve apiInfo (2) (diff) | |
download | pyload-7b6a9a68dfbf67f075bfe86e67be5390da4b8c1d.tar.xz |
Fix https://github.com/pyload/pyload/issues/1134
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index b2622b5e0..856b548f0 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -12,7 +12,7 @@ from module.utils import fixup class SimpleCrypter(Crypter, SimpleHoster): __name__ = "SimpleCrypter" __type__ = "crypter" - __version__ = "0.42" + __version__ = "0.43" __pattern__ = r'^unmatchable$' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), #: Overrides core.config['general']['folder_per_package'] @@ -129,8 +129,8 @@ class SimpleCrypter(Crypter, SimpleHoster): self.logDebug("File info (AFTER): %s" % self.info) try: - url = self.info['url'] - name = self.info['name'] + url = self.info['url'].strip() + name = self.info['name'].strip() if name and name != url: self.pyfile.name = name |