diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-01 23:53:07 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-01 23:53:07 +0100 |
commit | 004a80bfaad38f9400e8aebcb8f980353a232295 (patch) | |
tree | 1e786d2d14a3040767aac237982544b74a9567cb /pyload/plugins/internal/Crypter.py | |
parent | Fix previous merge (diff) | |
download | pyload-004a80bfaad38f9400e8aebcb8f980353a232295.tar.xz |
PEP-8, Python Zen, refactor and reduce code (thx FedeG)
Diffstat (limited to 'pyload/plugins/internal/Crypter.py')
-rw-r--r-- | pyload/plugins/internal/Crypter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/internal/Crypter.py b/pyload/plugins/internal/Crypter.py index 974ee60a1..8580def61 100644 --- a/pyload/plugins/internal/Crypter.py +++ b/pyload/plugins/internal/Crypter.py @@ -68,11 +68,11 @@ class Crypter(Plugin): folder_per_package = self.core.config['general']['folder_per_package'] try: use_subfolder = self.getConfig('use_subfolder') - except: + except Exception: use_subfolder = folder_per_package try: subfolder_per_package = self.getConfig('subfolder_per_package') - except: + except Exception: subfolder_per_package = True for pack in self.packages: |