diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-28 23:46:24 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-28 23:46:24 +0100 |
commit | 58878a455067837dbe72c690606157831d3afae1 (patch) | |
tree | ac59fe8fa23a2531f7fdf03341ed1eff0326f67f /module/plugins/internal/SimpleCrypter.py | |
parent | Spare code fixes (2) (diff) | |
download | pyload-58878a455067837dbe72c690606157831d3afae1.tar.xz |
Spare code fixes (3)
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r-- | module/plugins/internal/SimpleCrypter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py index b98ac4d76..97d7a660a 100644 --- a/module/plugins/internal/SimpleCrypter.py +++ b/module/plugins/internal/SimpleCrypter.py @@ -148,7 +148,7 @@ class SimpleCrypter(Crypter): def handle_direct(self, pyfile): - maxredirs = self.pyload.api.getConfigValue("UserAgentSwitcher", "maxredirs", "plugin") or 5 + maxredirs = int(self.pyload.api.getConfigValue("UserAgentSwitcher", "maxredirs", "plugin")) or 5 #@TODO: Remove `int` in 0.4.10 redirect = None for i in xrange(maxredirs): |